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

JS execution is being detected #460

Open
mr-wong opened this issue Dec 6, 2024 · 0 comments
Open

JS execution is being detected #460

mr-wong opened this issue Dec 6, 2024 · 0 comments

Comments

@mr-wong
Copy link

mr-wong commented Dec 6, 2024

I stumbled upon this website https://bot-detector.rebrowser.net/ and DrissionPage fails to pass the mainWorldExecution test. I somehow managed to fix it using their proposed patches as a reference (code is here: https://github.com/rebrowser/rebrowser-patches/tree/main/patches), but not sure if it's correct. The fixes suggest using an isolated world context to avoid detection.

Could you please add this functionality to DrissionPage? Maybe by adding a flag like isolated=True/False in all run_js* functions? Thanks.

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

1 participant