Firefox 用户 18040302 的评价
评分 5 / 5
来自 Firefox 用户 18040302,1 年前A marvelous add-on! Thank you for it!
If you guys want to block the annoying 'reaction' videos, just put the below piece of code (and add more constrains if needed) to the Advanced Blocking section:
(video, objectType) =>
{
if (video.title.toLowerCase().toLowerCase().match("reacts") ||
video.title.toLowerCase().match("reaction") ||
video.title.toLowerCase().match("react") ||
video.title.toLowerCase().match("reacting") ||
video.title.toLowerCase().match("first time hearing") ||
video.title.toLowerCase().match("vocalcoach") ||
video.title.toLowerCase().match("vocal coach"))
{
return true;
}
else
{
return false; //just in case. probably not needed
}
}
If you guys want to block the annoying 'reaction' videos, just put the below piece of code (and add more constrains if needed) to the Advanced Blocking section:
(video, objectType) =>
{
if (video.title.toLowerCase().toLowerCase().match("reacts") ||
video.title.toLowerCase().match("reaction") ||
video.title.toLowerCase().match("react") ||
video.title.toLowerCase().match("reacting") ||
video.title.toLowerCase().match("first time hearing") ||
video.title.toLowerCase().match("vocalcoach") ||
video.title.toLowerCase().match("vocal coach"))
{
return true;
}
else
{
return false; //just in case. probably not needed
}
}