-
Notifications
You must be signed in to change notification settings - Fork 71
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
Enhance 'googlesyndication_adsbygoogle.js' redirection resource #2773
Comments
The website seems to work fine with or without the exception filter. What am I suppose to see? |
Did not help? |
I think that resolving this issue with commented keywords will not help if they try to access its properties or use regexp. |
If we have actual cases where this does not work, will address these, until then no need to try to solve speculated issues because in the end there is always a way to get around anyways so nothing will ever be good enough if we imagine what can be done to work around. |
Related issue: uBlockOrigin/uBlock-issues#2773 The `randomize` paramater introduced in 418087de9c is now named `directive`, and beside the `true` value which is meant to respond with a random 10-character string, it can now take the following value: war:[web_accessible_resource name] In order to mock the XHR response with a web accessible resource. For example: piquark6046.github.io##+js(no-xhr-if, adsbygoogle.js, war:googlesyndication_adsbygoogle.js) Will cause the XHR performed by the webpage to resolve to the content of `/web_accessible_resources/googlesyndication_adsbygoogle.js`. Should the resource not exist, the empty string will be returned.
Prerequisites
I tried to reproduce the issue when...
Description
They checks that
google-adsense
orgooglesyndication
exists inXMLHttpRequest.prototype.responseText
viajQuery.ajax.done
.A specific URL where the issue occurs.
https://aagag.com/issue/?idx=1275471
Steps to Reproduce
Pleas visit the website.
If you use List-KR filters list or uAssets filters lists:
Expected behavior
Return AdGuard's
googlesyndication-adsbygoogle
-like redirection resource.Actual behavior
The returned redirection resource is not much like the real thing.
uBO version
1.51.0
Browser name and version
Mozilla Firefox Developer Edition 117.0b5
Operating System and version
Ubuntu 23.04
The text was updated successfully, but these errors were encountered: