$redirect
modifier does not fake XMLHttpRequest.prototype.responseURL
#2296
Labels
$redirect
modifier does not fake XMLHttpRequest.prototype.responseURL
#2296
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
returnshttps://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
$redirect
modifier does not fakeResponse.prototype.url
#2278The text was updated successfully, but these errors were encountered: