mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Edit the resources library references in $redirect section
parent
082b9cf43a
commit
7fb2e92a94
1 changed files with 1 additions and 1 deletions
|
|
@ -692,7 +692,7 @@ See also: [`empty`](#empty), [`redirect`](#redirect)
|
|||
|
||||
The `redirect` option means _"block and redirect"_, and causes two filters to become created internally, a block filter and a redirect directive (`redirect-rule`).
|
||||
|
||||
A redirect directive causes a blocked network request to redirect to a local neutered resource version. The neutered resource must use a resource token. The resources are defined in [Resources Library](./Resources-Library#defuser-scriptlets). At runtime, filters with unresolvable resource tokens get discarded.
|
||||
A redirect directive causes a blocked network request to redirect to a local neutered resource version. The neutered resource must use a resource token. You can use [empty redirect resources](./Resources-Library#available-empty-redirect-resources) and [URL-specific sanitized redirect resources (surrogates)](./Resources-Library#available-url-specific-sanitized-redirect-resources-surrogates). At runtime, filters with unresolvable resource tokens get discarded.
|
||||
|
||||
You can use the `redirect=` filters with other static filter options. You can exclude them by using `@@`, they can be `badfilter`-ed, and their priority can increase with the `important` option.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue