puppeteer-extra-plugin-stealth
Version:
Stealth mode: Applies various techniques to make detection of headless puppeteer harder.
19 lines (10 loc) • 541 B
Markdown
## API
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
#### Table of Contents
- [class: Plugin](#class-plugin)
### class: [Plugin](https://github.com/berstend/puppeteer-extra/blob/e6133619b051febed630ada35241664eba59b9fa/packages/puppeteer-extra-plugin-stealth/evasions/sourceurl/index.js#L9-L58)
- `opts` (optional, default `{}`)
**Extends: PuppeteerExtraPlugin**
Strip sourceURL from scripts injected by puppeteer.
It can be used to identify the presence of pptr via stacktraces.