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

$redirect modifier does not fake XMLHttpRequest.prototype.responseURL #2296

Open
piquark6046 opened this issue Mar 5, 2023 · 0 comments
Open
Assignees

Comments

@piquark6046
Copy link
Member

piquark6046 commented Mar 5, 2023

AdGuard Extension version

4.1.53

Browser version

Mozilla Firefox Developer Edition 111.0b8; Brave 1.48.171

OS version

Ubuntu 22.10

What filters do you have enabled?

No filters

What Stealth Mode options do you have enabled?

No response

Issue Details

XMLHttpRequest.prototype.responseURL returns (Browser Extension)://(UUID)/web-accessible-resources/redirects/googlesyndication-adsbygoogle.js?secret=... if ||pagead2.googlesyndication.com/pagead/js/adsbygoogle.js$redirect=googlesyndication-adsbygoogle rule is applied.

A website can profile a visitor with the browser extension's UUID.
uBlock Origin is not affected by this issue.

Expected Behavior

XMLHttpRequest.prototype.responseURL returns https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js.

Screenshots

Brave
Screencast.from.2023-03-05.09-37-15.webm
Mozilla Firefox Developer Edition
Screencast.from.2023-03-05.09-36-42.webm

Additional Information

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

No branches or pull requests

4 participants