YTBlock - Block any content from YouTube™ 的评价
YTBlock - Block any content from YouTube™ 作者: Edoan
EternalSunset 的评价
评分 5 / 5
来自 EternalSunset, 9 个月前It'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!
开发者回应
发布于 9 个月前Hello. 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.