videospeed icon indicating copy to clipboard operation
videospeed copied to clipboard

Trying to blacklist part of a site isn't working

Open ShalevWen opened this issue 2 years ago • 2 comments

I want to blacklist livestreams on twitch but have the extension enabled on VODs. A live stream has a url "twitch.tv/streamerName" and a VOD has a url "twitch.tv/videos/someNumber" I tried blacklisting using /twitch\.tv\/[^\/]*$/ but it doesn't blocks either of them, can someone help me please?

ShalevWen avatar Jun 03 '23 21:06 ShalevWen

I was able to do just this with /twitch\.tv(?!\/videos\/?.*)/gi

andrew-m-j avatar Aug 15 '23 18:08 andrew-m-j

I looked into it again, and I belive that my version works as well, the problem is that if I move from a stream to a VOD and vice versa, the blacklist check isnt performed again until I refresh the page

ShalevWen avatar Aug 15 '23 18:08 ShalevWen