prebid-integration-monitor/node_modules/puppeteer-extra-plugin-stealth/evasions/navigator.plugins
2024-04-30 06:48:50 -06:00
..
data.json initial commit 2024-04-30 06:48:50 -06:00
functionMocks.js initial commit 2024-04-30 06:48:50 -06:00
index.js initial commit 2024-04-30 06:48:50 -06:00
index.test.js initial commit 2024-04-30 06:48:50 -06:00
magicArray.js initial commit 2024-04-30 06:48:50 -06:00
mimeTypes.js initial commit 2024-04-30 06:48:50 -06:00
mimeTypes.test.js initial commit 2024-04-30 06:48:50 -06:00
package.json initial commit 2024-04-30 06:48:50 -06:00
plugins.js initial commit 2024-04-30 06:48:50 -06:00
plugins.test.js initial commit 2024-04-30 06:48:50 -06:00
readme.md initial commit 2024-04-30 06:48:50 -06:00

API

Table of Contents

class: Plugin

  • opts (optional, default {})

Extends: PuppeteerExtraPlugin

In headless mode navigator.mimeTypes and navigator.plugins are empty. This plugin emulates both of these with functional mocks to match regular headful Chrome.

Note: mimeTypes and plugins cross-reference each other, so it makes sense to do them at the same time.