pub enum CheckId {
Show 24 variants
WebDriverFlag,
ChromeObject,
PluginCount,
LanguagesPresent,
CanvasConsistency,
WebGlVendor,
AutomationGlobals,
OuterWindowSize,
HeadlessUserAgent,
NotificationPermission,
MatchMediaPresent,
ElementFromPointPresent,
RequestAnimationFramePresent,
GetComputedStylePresent,
CssSupportsPresent,
SendBeaconPresent,
ExecCommandPresent,
NodeJsAbsent,
WebDriverDescriptorShape,
UserAgentDataPresent,
ConnectionPresent,
HiddenFontProbeRect,
ScreenMetricsCoherent,
AudioContextPresent,
}Expand description
Stable identifier for a built-in stealth detection check.
Variants§
WebDriverFlag
navigator.webdriver must be undefined or false.
ChromeObject
window.chrome.runtime must be present (absent in headless by default).
PluginCount
navigator.plugins must have at least one entry.
LanguagesPresent
navigator.languages must be non-empty.
CanvasConsistency
Canvas toDataURL() must return non-trivial image data.
WebGlVendor
WebGL vendor/renderer must not contain the SwiftShader software-renderer marker.
AutomationGlobals
No automation-specific globals (__puppeteer__, __playwright, etc.) must be present.
OuterWindowSize
window.outerWidth and window.outerHeight must be non-zero.
HeadlessUserAgent
navigator.userAgent must not contain the "HeadlessChrome" substring.
NotificationPermission
Notification.permission must not be pre-granted (automation artefact).
MatchMediaPresent
window.matchMedia must be a function (PX env-bitmask bit 0).
ElementFromPointPresent
document.elementFromPoint must be a function (PX env-bitmask bit 1).
RequestAnimationFramePresent
window.requestAnimationFrame must be a function (PX env-bitmask bit 2).
GetComputedStylePresent
window.getComputedStyle must be a function (PX env-bitmask bit 3).
CssSupportsPresent
CSS.supports must exist and be callable (PX env-bitmask bit 4).
SendBeaconPresent
navigator.sendBeacon must be a function (PX env-bitmask bit 5).
ExecCommandPresent
document.execCommand must be a function (PX env-bitmask bit 6).
NodeJsAbsent
process.versions.node must be absent — not a Node.js environment (PX env-bitmask bit 7).
WebDriverDescriptorShape
Navigator.prototype.webdriver should look like a native accessor descriptor.
UserAgentDataPresent
navigator.userAgentData should exist and expose coherent client hints.
ConnectionPresent
navigator.connection should expose plausible network information.
HiddenFontProbeRect
Hidden font-probe elements should yield non-zero layout measurements.
ScreenMetricsCoherent
screen metrics and devicePixelRatio should be plausible and coherent.
AudioContextPresent
The Web Audio surface should exist and expose a non-zero sample rate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CheckId
impl<'de> Deserialize<'de> for CheckId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Copy for CheckId
impl Eq for CheckId
impl StructuralPartialEq for CheckId
Auto Trait Implementations§
impl Freeze for CheckId
impl RefUnwindSafe for CheckId
impl Send for CheckId
impl Sync for CheckId
impl Unpin for CheckId
impl UnsafeUnpin for CheckId
impl UnwindSafe for CheckId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.