mirror of
https://github.com/gorhill/uBlock.git
synced 2024-07-05 11:37:01 +02:00
Add log to trusted-replace-fetch-response
parent
69b2ee75c1
commit
8663e455b6
|
@ -540,6 +540,12 @@ Parameters:
|
||||||
- `name` is [init option name](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#parameters)
|
- `name` is [init option name](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#parameters)
|
||||||
- `value` is string or regular expression for matching the value of the option passed to fetch call
|
- `value` is string or regular expression for matching the value of the option passed to fetch call
|
||||||
|
|
||||||
|
Tokens:
|
||||||
|
- "log":
|
||||||
|
- `match`: log only when there is a match
|
||||||
|
- `nomatch`: log only when there is no match
|
||||||
|
- `all`: log unconditionally
|
||||||
|
|
||||||
Scriptlet does nothing if response body can't be converted to text.
|
Scriptlet does nothing if response body can't be converted to text.
|
||||||
|
|
||||||
Solves [uBlockOrigin/uBlock-issues#2742](https://github.com/uBlockOrigin/uBlock-issues/issues/2742).
|
Solves [uBlockOrigin/uBlock-issues#2742](https://github.com/uBlockOrigin/uBlock-issues/issues/2742).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user