Reviews for YTBlock - Block any content from YouTube™
YTBlock - Block any content from YouTube™ by Edoan
Review by EternalSunset
Rated 5 out of 5
by EternalSunset, 9 months agoIt's not working at all. I tried using this regex pattern to block all those annoying clickbaity videos with titles like "The X situation is crazy!" and it didn't block anything:
\bsituation[\w\s]is[\w\s](crazy|insane|wild|unbelievable)
EDIT: I tried it again with the developer's instructions and it is working as intended now. Thank you very much!
\bsituation[\w\s]is[\w\s](crazy|insane|wild|unbelievable)
EDIT: I tried it again with the developer's instructions and it is working as intended now. Thank you very much!
Developer response
posted 9 months agoHello. Does the entire extension not work or is just this specific regex?
Make sure that the regex is wrapped between slashes (/), and also add the "i" flag so it ignores if characters in the title is uppercase or lowercase.
The regex would look like this:
/\bsituation[\w\s]is[\w\s](crazy|insane|wild|unbelievable)/i
Sorry for the inconvenience.
Make sure that the regex is wrapped between slashes (/), and also add the "i" flag so it ignores if characters in the title is uppercase or lowercase.
The regex would look like this:
/\bsituation[\w\s]is[\w\s](crazy|insane|wild|unbelievable)/i
Sorry for the inconvenience.