Scriptlets icon indicating copy to clipboard operation
Scriptlets copied to clipboard

Use redirection resources in 'prevent-xhr' scriptlet

Open piquark6046 opened this issue 1 year ago • 1 comments

Expected and Actual Behaviors

image

They checks that google-adsense or googlesyndication exists in XMLHttpRequest.prototype.responseText via jQuery.ajax.done. It can be resolved if a filter maintainer can use redirection resources in prevent-xhr scriptlet.

Environment

  • Operating System: Ubuntu 23.04
  • Web Browser: Mozilla Firefox Developer Edition 117.0b5
  • AdGuard product: AdGuard Browser extension 4.1.57

Additional Information

  • https://piquark6046.github.io/testpage/XMLResponse-aagag/20230810/
  • https://github.com/AdguardTeam/AdguardFilters/issues/158625
  • https://github.com/List-KR/List-KR/issues/769

piquark6046 avatar Aug 10 '23 07:08 piquark6046

https://github.com/gorhill/uBlock/commit/bf591d93fb

piquark6046 avatar Aug 14 '23 14:08 piquark6046