Read me update
This commit is contained in:
parent
e92306e4b1
commit
a15e62964c
1 changed files with 36 additions and 0 deletions
36
README.md
36
README.md
|
|
@ -75,6 +75,42 @@ return false;
|
|||
return false;
|
||||
```
|
||||
|
||||
### Failed object.getOwnPropertyDescriptor(Navigator.prototype, key).value
|
||||
|
||||
```
|
||||
if (
|
||||
Object.getOwnPropertyDescriptor(Navigator.prototype, key).value !==
|
||||
undefined
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
```
|
||||
|
||||
### Failed Failed Navigator.prototype[key]
|
||||
|
||||
```
|
||||
try {
|
||||
const check = Navigator.prototype[key];
|
||||
return true;
|
||||
} catch (err) {
|
||||
return false;
|
||||
}
|
||||
```
|
||||
|
||||
### Failed navigator.geolocation.getCurrentPosition.toString().includes('[native code]')
|
||||
|
||||
```
|
||||
if (
|
||||
!navigator.geolocation.getCurrentPosition
|
||||
.toString()
|
||||
.includes('[native code]')
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
```
|
||||
|
||||
## Screenshots
|
||||
|
||||

|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue