UNPKG

puppeteer-extra-plugin-stealth

Version:

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

21 lines (11 loc) 677 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/e6133619b051febed630ada35241664eba59b9fa/packages/puppeteer-extra-plugin-stealth/evasions/iframe.contentWindow/index.js#L11-L125) - `opts` (optional, default `{}`) **Extends: PuppeteerExtraPlugin** Fix for the HEADCHR_IFRAME detection (iframe.contentWindow.chrome), hopefully this time without breaking iframes. Note: Only `srcdoc` powered iframes cause issues due to a chromium bug: <https://github.com/puppeteer/puppeteer/issues/1106> ---