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 :)
登录以发布留言。
To make it work with the latest updates, just need to make a couple tweaks:
location.searchwithlocation.hash, because YouTube seems to clear unrecognized query parameters nowmatchesregex on line 35 with/(?:[#&])(user=(?:[^&]+|$))/to account for using the hash rather than querylinkmatchregex on line 28 with/\/(user\/|channel\/|@)(.+)|/to support the new@usernames