-
-
Save nikolahellatrigger/c4d6cf4ddb0ab219c38ddd133dc772eb to your computer and use it in GitHub Desktop.
fp_event #604
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var out = require("bd6", function (assert) { | |
var result; | |
assert( | |
'getElementById', | |
[ | |
navigator.appVersion, | |
navigator.userAgent, | |
navigator.deviceMemory, | |
navigator.hardwareConcurrency, | |
navigator.language, | |
navigator.languages, | |
navigator.platform, | |
navigator.oscpu, | |
(navigator.userAgentData.brands || []).map(function (brand) { | |
return "".concat(brand.brand, " ").concat(brand.version); | |
}), | |
navigator.userAgentData.mobile, | |
navigator.userAgentData.platform, | |
navigator.mimeTypes.length, | |
(navigator.plugins || []).length, | |
navigator.pdfViewerEnabled, | |
"downlinkMax" in navigator.connection, | |
null == navigator.connection ? void 0 : navigator.connection.rtt, | |
navigator.webdriver, | |
null === (result = window.clientInformation) || void 0 === result ? void 0 : result.webdriver, | |
"share" in navigator, | |
"object" == typeof "keyboard" in navigator && navigator.keyboard ? String("keyboard" in navigator && navigator.keyboard) : "keyboard" in navigator && navigator.keyboard, | |
"brave" in navigator, | |
"duckduckgo" in navigator | |
] | |
); | |
}); | |
// Output: | |
/* | |
[ | |
"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36", | |
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36", | |
8, | |
16, | |
"fr-FR", | |
[ | |
"fr-FR", | |
"fr", | |
"en-US", | |
"en" | |
], | |
"Win32", | |
null, | |
[ | |
"Google Chrome 117", | |
"Not;A=Brand 8", | |
"Chromium 117" | |
], | |
false, | |
"Windows", | |
2, | |
5, | |
true, | |
false, | |
50, | |
false, | |
false, | |
true, | |
{}, | |
false, | |
false | |
] | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment