Liking cljdoc? Tell your friends :D

com.blockether.spel.stealth

Stealth mode for browser automation anti-detection.

Provides Chrome launch arguments, default-arg suppressions, and JavaScript init scripts that hide Playwright/automation signals from bot-detection systems. Based on puppeteer-extra-plugin-stealth evasions.

Usage: (stealth-args) ;; Chrome launch args (stealth-ignore-default-args) ;; args to suppress (stealth-init-script) ;; JS evasion script for addInitScript

Stealth mode for browser automation anti-detection.

Provides Chrome launch arguments, default-arg suppressions, and JavaScript
init scripts that hide Playwright/automation signals from bot-detection
systems. Based on puppeteer-extra-plugin-stealth evasions.

Usage:
  (stealth-args)                ;; Chrome launch args
  (stealth-ignore-default-args) ;; args to suppress
  (stealth-init-script)         ;; JS evasion script for addInitScript
raw docstring

stealth-argsclj

(stealth-args)

Returns a vector of extra Chrome launch arguments for stealth mode. These disable automation-detection features in Blink.

Returns a vector of extra Chrome launch arguments for stealth mode.
These disable automation-detection features in Blink.
sourceraw docstring

stealth-ignore-default-argsclj

(stealth-ignore-default-args)

Returns a vector of Chromium default args to suppress in stealth mode. Removing --enable-automation prevents the 'Chrome is being controlled by automated software' infobar and related automation signals.

Returns a vector of Chromium default args to suppress in stealth mode.
Removing --enable-automation prevents the 'Chrome is being controlled
by automated software' infobar and related automation signals.
sourceraw docstring

stealth-init-scriptclj

(stealth-init-script)

Returns a JavaScript string containing all stealth evasion patches. Inject via BrowserContext.addInitScript before page creation.

Patches (based on puppeteer-extra-plugin-stealth):

  1. navigator.webdriver — returns undefined
  2. navigator.plugins — emulates Chrome PDF plugins
  3. navigator.languages — returns ['en-US', 'en']
  4. chrome.runtime — mocks connect/sendMessage
  5. navigator.permissions.query — fixes notification permission
  6. WebGL vendor/renderer — returns realistic GPU strings
  7. window.outerWidth/outerHeight — matches inner dimensions
  8. iframe contentWindow — prevents contentWindow detection
Returns a JavaScript string containing all stealth evasion patches.
Inject via BrowserContext.addInitScript before page creation.

Patches (based on puppeteer-extra-plugin-stealth):
1. navigator.webdriver — returns undefined
2. navigator.plugins — emulates Chrome PDF plugins
3. navigator.languages — returns ['en-US', 'en']
4. chrome.runtime — mocks connect/sendMessage
5. navigator.permissions.query — fixes notification permission
6. WebGL vendor/renderer — returns realistic GPU strings
7. window.outerWidth/outerHeight — matches inner dimensions
8. iframe contentWindow — prevents contentWindow detection
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close