Whitelist YouTube channels in uBlock Origin
< 脚本Whitelist YouTube channels ads的反馈
To make it work with the latest updates, just need to make a couple tweaks:
location.search
location.hash
matches
/(?:[#&])(user=(?:[^&]+|$))/
linkmatch
/\/(user\/|channel\/|@)(.+)|/
@
Didn't tested it but implemented this changes so everyone can have them
Thanks :)
登录(不可用)以发表回复。
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
To make it work with the latest updates, just need to make a couple tweaks:
location.search
withlocation.hash
, because YouTube seems to clear unrecognized query parameters nowmatches
regex on line 35 with/(?:[#&])(user=(?:[^&]+|$))/
to account for using the hash rather than querylinkmatch
regex on line 28 with/\/(user\/|channel\/|@)(.+)|/
to support the new@
usernames