This script offers a quick way to extract the latest stealth evasions from puppeteer-extra-stealth to (minified) JavaScript. The resulting JS file can be used in pure CDP implementations or to test the evasions in your devtools.
How to use
yarn install
node .
Use the resulting stealth.min.js
file however you like.
Options
$ node index -h
Usage: index [options]
Options:
--version Show version number [boolean]
-e, --exclude Exclude evasion (repeat for multuple)
-i, --include Include evasion (repeat for multuple)
-l, --list List available evasions
-h, --help Show help [boolean]