YouTube - whitelist channels in uBlock Origin

To whitelist YouTube channels in uBlock Origin

< Feedback on YouTube - whitelist channels in uBlock Origin

Question/comment

How do you toggle it for certain channels

I can't find the button to whitelist youtubers from ublock.

§
Posted: 2016-10-29

Unfortunately, there is no button to easily do this, at least not yet.

When you have this script installed and running it will automatically add the channel's name to the URL like this: www.youtube.com/watch?v=h6FhV693seo&user=PewDiePie

You're able to filter channels by adding them to your whitelist like in this example:
youtube.com/*user=PewDiePie

(Don't forget the name is case sensitive, if you write "Pewdiepie" instead of "PewDiePie" it will not work.)

I got this information from here: https://www.reddit.com/r/ublock/comments/4x4jol/any_way_to_whitelist_certain_youtube_channels/

§
Posted: 2017-02-23
Edited: 2017-02-23

// To fix issue with user name, parse it from a different query, so
// the following method works currently. Variable channelId will thus
// contain the Youtube user name.
// Replace lines from "var link = document.querySelector ..." to
// "var channelId = ..." with the following code (within "// ---"):

^--I can't make heads or tails of these instructions. "Replace lines from" from where? Do I put "youtube.com/*user=(name)" in // or... huh?

Nvm, found the instructions on reddit. Didn't know to access uBlock Origin's dashboard's whitelist tab.

Post reply

Sign in to post a reply.