Better example (previous commit)

garry-ut99 2024-09-04 21:02:44 +00:00
parent 2bb3f31503
commit 77c96b17be

@ -663,9 +663,9 @@ When used without parameters, the parameters passed to `no-fetch-if` will be log
Examples:
- `example.com##+js(no-fetch-if, method:HEAD)`
- `example.com##+js(no-fetch-if, adsbygoogle.js)`
- `example.com##+js(no-fetch-if, !adsbygoogle.js)`
- `example.com##+js(no-fetch-if, adsbygoogle.js method:HEAD)`
- `example.com##+js(no-fetch-if, /adsbygoogle.js$/ method:/HEAD|POST/)`
- `example.com##+js(no-fetch-if, !somevalue)`
See also:
- [AdGuard `prevent-fetch`](https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-scriptlets.md#prevent-fetch)