Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I delete enabled evasions? #29

Closed
stephenerik opened this issue Aug 10, 2021 · 2 comments
Closed

How do I delete enabled evasions? #29

stephenerik opened this issue Aug 10, 2021 · 2 comments

Comments

@stephenerik
Copy link

Hi,

I'm trying to replicate the following js code in Puppeteer-sharp-extra. Does anyone know how I delete the 2 enabled evasions?

const StealthPlugin = require("puppeteer-extra-plugin-stealth")();
StealthPlugin.enabledEvasions.delete("chrome.runtime");
StealthPlugin.enabledEvasions.delete("iframe.contentWindow");
puppeteer.use(StealthPlugin);

Thanks in advance.

@fergus3000
Copy link

I had the same question. Looking at the source code, stealthplugin.cs in particular, I don't believe it's possible.

@Overmiind
Copy link
Owner

Fixed by package version 1.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants