YouTube - whitelist channels in uBlock Origin

To whitelist YouTube channels in uBlock Origin

< 腳本YouTube - whitelist channels in uBlock Origin的回應

提問/評論

§
發表於:2016-09-23

How do you toggle it for certain channels

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

§
發表於: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/

§
發表於:2017-02-23
編輯: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.

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址