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

Possible to bypass/spoof ServiceWorker? #522

Closed
xines opened this issue Dec 23, 2021 · 1 comment
Closed

Possible to bypass/spoof ServiceWorker? #522

xines opened this issue Dec 23, 2021 · 1 comment
Labels
question Questions related to rod

Comments

@xines
Copy link

xines commented Dec 23, 2021

Rod Version: v0.101.9-0.20211222104445-2424108c10b5

Demonstrate your question

Is it possible to bypass/spoof ServiceWorker with rod as sites like:

are able to detech spoofed user-agent + gpu using ServiceWorker.

What have you tried to solve the question

I tried using the below without luck.

err := proto.NetworkSetBypassServiceWorker{Bypass: true}.Call(page)
if err != nil {
	return
}
@xines xines added the question Questions related to rod label Dec 23, 2021
@ysmood
Copy link
Member

ysmood commented Dec 23, 2021

Related to: go-rod/stealth#15

@ysmood ysmood closed this as completed Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions related to rod
Projects
None yet
Development

No branches or pull requests

2 participants