Revisiones de YTBlock - Block any content from YouTube™
YTBlock - Block any content from YouTube™ por Edoan
Revisado por EternalSunset
Se valoró con 5 de 5
por EternalSunset, hace 7 mesesIt'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!
Respuesta del desarrollador
publicado el hace 7 mesesHello. 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.