UNPKG

puppeteer-extra-plugin-stealth

Version:

Stealth mode: Applies various techniques to make detection of headless puppeteer harder.

23 lines (12 loc) 757 B
## 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/a769d9e78174808c217a71dc5a2261129b5b9127/packages/puppeteer-extra-plugin-stealth/evasions/user-agent/index.js#L13-L25) - `opts` (optional, default `{}`) **Extends: PuppeteerExtraPlugin** A small shim to require the `puppeteer-extra-plugin-anonymize-ua` plugin. Let's make use of `puppeteer-extra`'s modular nature and not re-invent things. :-) Note: If you want to customize it's settings just require the above mentioned plugin directly and specify your desired options, it won't be required if you already did so. ---