uBlock/src
Raymond Hill 266ec4894b
New static network filter option urlskip=
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3206

The main purpose is to bypass URLs designed to track whether a user
visited a specific URL, typically used in click-tracking links.

The `urlskip=` option ...

- ... is valid only when used in a trusted filter list
- ... is enforced only on top documents
- ... is enforced on both blocked and non-blocked documents
- ... is a modifier, i.e. it cannot be used along with other
      modifier options in a single filter

The syntax is `urlskip=[steps]`, where steps is a space-separated
list of extraction directives detailing what action to perform on
the current URL.

The only supported directive in this first commit is `?name`,
which purpose is to extract the value of a named URL parameter
and use the result as the new URL. Example:

  ||example.com/path/to/tracker$urlskip=?url

The above filter will cause navigation to

  https://example.com/path/to/tracker?url=https://example.org/

to automatically bypass navigation to `example.com` and navigate
directly to

  https://example.org/

It is possible to recursively extract URL parameters by using
more than one directive, example:

  ||example.com/path/to/tracker$urlskip=?url ?to

More extraction capabilities may be added in the future.
2024-09-15 09:17:19 -04:00
..
_locales Import translation work from https://crowdin.com/project/ublock 2024-09-12 15:40:24 -04:00
css Adjust element picker visuals 2024-04-22 06:08:49 -04:00
img Add a console pane to the logger 2024-04-10 11:27:40 -04:00
js New static network filter option urlskip= 2024-09-15 09:17:19 -04:00
lib Redesign cache storage 2024-02-26 16:50:11 -05:00
web_accessible_resources Add noop resources for redirect purpose 2024-08-24 12:11:35 -04:00
1p-filters.html Add checkboxes to "My filters" pane 2024-03-11 11:39:31 -04:00
3p-filters.html Keep search input field visuals consistent 2024-03-13 10:57:56 -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 Add checkboxes to "My filters" pane 2024-03-11 11:39:31 -04:00
devtools.html Benchmark buttons must be disabled by default 2024-03-02 08:58:49 -05:00
document-blocked.html Fix cloud storage widget not showing (regression) 2023-04-10 10:03:51 -04:00
dyna-rules.html Make syntax errors more visible 2024-03-19 11:39:07 -04:00
logger-ui.html Add a console pane to the logger 2024-04-10 11:27:40 -04:00
no-dashboard.html Code maintenance: replace uDom.js with dom.js 2022-11-12 09:51:22 -05:00
popup-fenix.html Prevent resizing of title bar in popup menu 2024-07-05 10:11:27 -04:00
settings.html Fix cloud storage widget not showing (regression) 2023-04-10 10:03:51 -04:00
support.html Isolate DOM inspector layers from page context 2023-12-03 16:21:32 -05:00
whitelist.html Add checkboxes to "My filters" pane 2024-03-11 11:39:31 -04:00