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