Commit d04dc4c
committed
Add
Potentially breaking change:
`urlskip=` option will no longer apply by default to blocked network
requests, only network requests which are not blocked can be skipped
through a `urlskip=` filter.
The new `urlskip=` directive `-blocked` can be used to explicitly
allow a `urlskip=` filter to also apply to blocked network requests.
Example: given the filter `||example.com^`, the filter:
||example.com/path/to/tracker$urlskip=?url
Will not prevent strict-blocking when navigating to:
https://example.com/path/to/tracker?url=https://example.org/
However, the filter:
||example.com/path/to/tracker$urlskip=-blocked ?url
Will cause the strict-blocking to be ignored and allow navigation
to proceed to the URL extracted as a result of applying the `urlskip=`
filter:
https://example.org/
Related discussion:
uBlockOrigin/uBlock-issues#3206 (comment)-blocked directive to urlskip= option1 parent 50785ea commit d04dc4c
3 files changed
+20
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
946 | | - | |
| 946 | + | |
947 | 947 | | |
948 | 948 | | |
949 | 949 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5405 | 5405 | | |
5406 | 5406 | | |
5407 | 5407 | | |
| 5408 | + | |
| 5409 | + | |
| 5410 | + | |
5408 | 5411 | | |
5409 | 5412 | | |
5410 | 5413 | | |
| |||
5423 | 5426 | | |
5424 | 5427 | | |
5425 | 5428 | | |
5426 | | - | |
| 5429 | + | |
| 5430 | + | |
| 5431 | + | |
| 5432 | + | |
| 5433 | + | |
5427 | 5434 | | |
5428 | 5435 | | |
5429 | 5436 | | |
| |||
5435 | 5442 | | |
5436 | 5443 | | |
5437 | 5444 | | |
5438 | | - | |
| 5445 | + | |
5439 | 5446 | | |
5440 | 5447 | | |
5441 | 5448 | | |
| |||
5446 | 5453 | | |
5447 | 5454 | | |
5448 | 5455 | | |
5449 | | - | |
| 5456 | + | |
5450 | 5457 | | |
| 5458 | + | |
5451 | 5459 | | |
5452 | 5460 | | |
5453 | 5461 | | |
| |||
5481 | 5489 | | |
5482 | 5490 | | |
5483 | 5491 | | |
| 5492 | + | |
| 5493 | + | |
| 5494 | + | |
| 5495 | + | |
| 5496 | + | |
5484 | 5497 | | |
5485 | 5498 | | |
5486 | 5499 | | |
| |||
5507 | 5520 | | |
5508 | 5521 | | |
5509 | 5522 | | |
| 5523 | + | |
5510 | 5524 | | |
5511 | 5525 | | |
5512 | 5526 | | |
| |||
0 commit comments