Added platform input
This commit is contained in:
parent
4b24ab3dd0
commit
8e9a5da964
3 changed files with 14 additions and 2 deletions
|
|
@ -109,7 +109,11 @@ const AutofillPage = ({ tab, ipData }: AutofillPageProps) => {
|
|||
<TableRow title="Address" value={address} />
|
||||
<TableRow title="Phone" value={phone} noBorder />
|
||||
</Table>
|
||||
<Button variant="primary" onClick={() => console.log('click')}>
|
||||
<Button
|
||||
variant="primary"
|
||||
sx={{ borderRadius: '4px' }}
|
||||
onClick={() => console.log('click')}
|
||||
>
|
||||
Autofill Current Page
|
||||
</Button>
|
||||
</Page>
|
||||
|
|
|
|||
|
|
@ -155,6 +155,14 @@ const UserAgentPage = ({ tab }: UserAgentPageProps) => {
|
|||
onChange={changeUserAgent}
|
||||
mb="12px"
|
||||
/>
|
||||
<DebouncedInput
|
||||
name="platform"
|
||||
title="Platform"
|
||||
value={navigator.platform}
|
||||
setValue={setUserAgent}
|
||||
onChange={changeUserAgent}
|
||||
mb="12px"
|
||||
/>
|
||||
{userAgentType !== 'default' && (
|
||||
<CheckBox title={'Enable Debugger API Spoofing'} />
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -49,12 +49,12 @@ export const theme: Theme = {
|
|||
},
|
||||
buttons: {
|
||||
primary: {
|
||||
borderRadius: '4px',
|
||||
color: 'background',
|
||||
bg: 'primary',
|
||||
py: '3px',
|
||||
px: '8px',
|
||||
cursor: 'pointer',
|
||||
borderRadius: '0',
|
||||
width: '100%',
|
||||
'&:hover': {
|
||||
bg: 'primaryDark',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue