1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00
uBlock/platform
Raymond Hill bf591d93fb
Imrpove no-xhr-if scriptlet
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/2773

The `randomize` paramater introduced in https://github.com/gorhill/uBlock/commit/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.
2023-08-14 10:03:50 -04:00
..
browser Rewrite static filtering parser 2023-01-23 16:53:18 -05:00
chromium Fix typos 2023-07-23 10:01:08 -04:00
common Imrpove no-xhr-if scriptlet 2023-08-14 10:03:50 -04:00
dig Fix filter list paths 2023-05-07 09:19:01 -04:00
firefox Fix https://github.com/uBlockOrigin/uBlock-issues/issues/2668 2023-05-23 21:49:42 -04:00
mv3 Typo 2023-08-13 13:28:02 -04:00
nodejs Rewrite static filtering parser 2023-01-23 16:53:18 -05:00
npm Fix npm dev dependencies -- this fixes "make test" 2022-12-14 10:55:02 -05:00
opera Reverse usage of browser.alarms 2023-04-26 08:00:13 -04:00
safari Clarify that the code base was really old and obsolete 2019-09-22 09:57:38 -04:00
thunderbird Fix thunderbird manifest 2023-04-27 21:50:44 -04:00