browserTraits
browserTraits
(object
): An object that describes various traits of the user's browser.
type
type
(string
): The name of the browser engine the browser is using: chromium
, firefox
, safari
, or unknown
.
hasCanvasNoise
hasCanvasNoise
(boolean
): Indicates whether noise has been applied to the Canvas API. This technique, commonly used to reduce the effectiveness of browser fingerprinting, is a privacy feature implemented by several browsers, including Brave, Firefox, and Safari.
isIncognito
isIncognito
(boolean
): Returns true
if the browser is in incognito mode or a similar private browsing mode.
isWebView
isWebView
(boolean
): Returns true
if WebView is being used to view the page.
isAndroidWebView
isAndroidWebView
(boolean
): Returns true
if specifically Android WebView is being used to view the page.
possibleCountryCodes
possibleCountryCodes
(array
): An array of two-letter uppercase country codes inferred solely from device/browser fingerprint data. It does not rely on IP-based geolocation and thus is effective even if the user is using a VPN or proxy. The first element indicates the most likely country of origin, while subsequent entries are also possible locations. This is especially accurate on mobile devices and is useful for geofencing or similar location-based use cases, though atypical configurations on other platforms can occasionally result in an empty array.
isFakeUserAgent
isFakeUserAgent
(boolean
): Returns true
if the browser is faking its user agent string in order to appear as a different browser. This is often indicative of malicious behavior, as changing the user agent is a common tactic used by bots and automated scripts to evade detection by security systems.
isRootedDevice
isRootedDevice
(boolean
): Returns true
if the browser is running on a device that has been rooted. Rooted devices almost always indicate malicious activity as they can be used to bypass security restrictions, manipulate system settings, or execute unauthorized code. This can compromise the integrity of the browser environment, allowing bots or malicious scripts to evade detection and gain deeper access to the underlying operating system. Detecting a rooted device is a strong indicator of potential security threats or automated behavior.
isAntiDetect
isAntiDetect
(boolean
): Indicates whether the browser environment exhibits characteristics consistent with anti-detection techniques. When this flag is true
, it suggests that the browser is actively modifying or obscuring its standard fingerprinting attributes to mask its true identity. These anti-detect measures are typically used to bypass conventional browser fingerprinting methods, effectively making it harder to reliably profile the browser’s actual configuration. It is often employed by bots and humans attempting fraud.