- Oct 28, 2020
- 11,663
- 14,635
Hi,
I'm trying to make my Brave browser stop autoplaying youtube videos, and I thought that by blocking "youtube.com" in the autoplay exceptions list (or whatever it's called, I don't remember) then all YT clips will stop being autoplayed. But, unfortunately, this only works if I left-mouse click on a YT video. If I right-mouse click on it to open it in a new tab (which I do most of the time) then it starts autoplaying as soon as I switch over to that tab from my current tab. And this sucks.
So, I would like to add a regex formula inside of the Brave's autoplay blocking list that stops all youtube vids that contain this string "youtube.com/watch?v=" but I can't figure out what the right Regex code for this is because I'm not good with regex. Can some Regex magician spoon-feed me the right code?
Please note that after the "=" sign in the above formula a new string of characters will follow, and this is where Regex comes in because each YT clip has a different string of characters after the "=" sign - as you can probably already know - and that string is always different, so the Regex formula would obviously have to block any string of characters that follows the "=" sign, regardless of its composition.
I did try using both these pieces of code, but neither worked:
So yeah, I don't know what to use, so I'm hoping that you, freaks.... I mean, gods (definitely GODS of regex
) can help.
I'm trying to make my Brave browser stop autoplaying youtube videos, and I thought that by blocking "youtube.com" in the autoplay exceptions list (or whatever it's called, I don't remember) then all YT clips will stop being autoplayed. But, unfortunately, this only works if I left-mouse click on a YT video. If I right-mouse click on it to open it in a new tab (which I do most of the time) then it starts autoplaying as soon as I switch over to that tab from my current tab. And this sucks.
So, I would like to add a regex formula inside of the Brave's autoplay blocking list that stops all youtube vids that contain this string "youtube.com/watch?v=" but I can't figure out what the right Regex code for this is because I'm not good with regex. Can some Regex magician spoon-feed me the right code?
Please note that after the "=" sign in the above formula a new string of characters will follow, and this is where Regex comes in because each YT clip has a different string of characters after the "=" sign - as you can probably already know - and that string is always different, so the Regex formula would obviously have to block any string of characters that follows the "=" sign, regardless of its composition.
I did try using both these pieces of code, but neither worked:
Code:
[*.]youtube.com[/*]
[*.]youtube.com/[*]
So yeah, I don't know what to use, so I'm hoping that you, freaks.... I mean, gods (definitely GODS of regex