1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-18 18:48:45 +02:00
uBlock/src
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
..
_locales Import translation work from https://crowdin.com/project/ublock 2023-08-07 10:46:39 -04:00
css Fix remnants of visible text in collapsed rows 2023-07-24 07:40:10 -04:00
img Flags: w40 => h48, probably better for UHD displays 2023-05-23 09:24:30 -04:00
js Imrpove no-xhr-if scriptlet 2023-08-14 10:03:50 -04:00
lib Fix typos 2023-07-23 10:01:08 -04:00
web_accessible_resources Add commented keywords to googlesyndication_adsbygoogle.js scriptlet 2023-08-10 09:54:58 -04:00
1p-filters.html Convert remaining vAPI.setTimeout to vAPI.defer 2023-04-14 10:26:45 -04:00
3p-filters.html Add support for sublists in "Filter lists" pane 2023-05-06 12:50:25 -04:00
about.html Patch Unicode country flags with image-based flags 2023-05-20 21:35:52 -04:00
advanced-settings.html Fix cloud storage widget not showing (regression) 2023-04-10 10:03:51 -04:00
asset-viewer.html Convert remaining vAPI.setTimeout to vAPI.defer 2023-04-14 10:26:45 -04:00
background.html [mv3] Add ability to enable/disable filter lists 2022-09-13 17:44:24 -04:00
cloud-ui.html Work toward bringing dark theme closer to a stable release 2022-01-30 18:35:26 -05:00
code-viewer.html Convert remaining vAPI.setTimeout to vAPI.defer 2023-04-14 10:26:45 -04:00
dashboard.html Prevent dashboard from loading at browser launch until ready 2023-03-16 09:17:36 -04:00
devtools.html Convert remaining vAPI.setTimeout to vAPI.defer 2023-04-14 10:26:45 -04:00
document-blocked.html Fix cloud storage widget not showing (regression) 2023-04-10 10:03:51 -04:00
dyna-rules.html Fix cloud storage widget not showing (regression) 2023-04-10 10:03:51 -04:00
logger-ui.html Add "tabless" filter expression for logger output 2023-06-29 15:12:22 -04:00
no-dashboard.html Code maintenance: replace uDom.js with dom.js 2022-11-12 09:51:22 -05:00
popup-fenix.html Minor HTML/CSS changes 2023-04-27 08:49:45 -04:00
settings.html Fix cloud storage widget not showing (regression) 2023-04-10 10:03:51 -04:00
support.html Prevent creating report until filter lists are updated 2023-06-22 14:36:12 -04:00
whitelist.html Convert remaining vAPI.setTimeout to vAPI.defer 2023-04-14 10:26:45 -04:00