Whitelist YouTube channels in uBlock Origin
< Feedback on 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 :)
Sign in to post a reply.
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