1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-01 02:02:29 +02:00

Updated How to whitelist a web site (markdown)

Raymond Hill 2015-01-29 12:00:12 -05:00
parent 75e3fea660
commit 0c2802425a

@ -38,10 +38,16 @@ If no `/` appears in a whitelist directive, and if the directive contains charac
#### Specific pattern
- `*reddit.com/r/privacy/*`
- `*youtube.com/*&user=jacksfilms*` (assuming you are using [the user script posted here](https://greasyfork.org/en/scripts/4168-youtube-whitelist-channels-in-adblock-plus) to whitelist a Youtube channel).
Wildcards can be used at any position. However, when a wildcard is used within the hostname portion of a directive, it cannot be at the end of the hostname, and also must be at the boundary of a hostname label.
#### A Youtube channel
- Follow step 1 to 4 in ["YouTube - whitelist channels in Adblock Plus"](https://greasyfork.org/en/scripts/4168-youtube-whitelist-channels-in-adblock-plus) to whitelist a Youtube channel)
- Once you have the author's name:
- Go to the _Whitelist_ tab in uBlock's dashboard
- Add the line `*youtube.com/*&user=[AUTHOR NAME]*` (replace `[AUTHOR NAME]` with the author name you extracted earlier
### Other details
If you re-enable µBlock by clicking the whitelist button in the popup while a whitelist directive you handcrafted is in effect, your handcrafted whitelist directive will simply be commented out. This way you can bring it back to life if ever you un-whitelisted by mistake.