mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Updated Dynamic filtering: quick guide (markdown)
parent
9412fe6599
commit
dbb2cf1083
1 changed files with 13 additions and 5 deletions
|
|
@ -28,16 +28,24 @@ All embedded 3rd-party frames were blocked on the page. Good. However it appears
|
|||
|
||||

|
||||
|
||||
If you want to block all 3rd-party frames by default, except for the embedded video on that particular site, two solutions:
|
||||
If you want to block all 3rd-party frames by default, except for the embedded video on that particular site, two solutions.
|
||||
|
||||

|
||||
##### First solution
|
||||
|
||||
Create a local _noop_ rule for 3rd-party frames:
|
||||
|
||||

|
||||
|
||||
It works, the embedded Youtube video can now be played.
|
||||
|
||||
However the above rule would result in all 3rd-party frames to be unblocked. Not so good.
|
||||
|
||||
##### Second solution
|
||||
|
||||
Create a local _noop_ rule for `youtube.com`:
|
||||
|
||||

|
||||
|
||||
However the above rule would result in all 3rd-party frames to be unblocked.
|
||||
|
||||
The other better solution: create a local _noop_ rule for `youtube.com`: This will prevent dynamic filtering rules to apply to anything from `youtube.com`.
|
||||
This will prevent dynamic filtering rules to apply to anything from `youtube.com`.
|
||||
|
||||
**Important:** take note that _noop_ rules by pass **only** broader dynamic filtering rules, static filtering is left completely intact, which means you won't see ads in the embedded Youtube videos.
|
||||
Loading…
Reference in a new issue