Skip to content

Commit 8867fc9

Browse files
committed
feat(1.12.0): update
- Adds new spam checks (russian + youtube link)
1 parent baad2a4 commit 8867fc9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

removebots.user.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name Hide Bot Comments
33
// @namespace https://theusaf.org
4-
// @version 1.11.2
4+
// @version 1.12.0
55
// @description Removes comments made by bots on websites such as YouTube.
66
// @author theusaf
77
// @match https://www.youtube.com/**
@@ -23,11 +23,13 @@ const SITES = Object.freeze({
2323
// all caps and a link
2424
/^(\s*@.+)?\s*[A-Z\s\r\n!]*https:\/\/[^\s]+[A-Z\s\r\n!]*$/,
2525
// A link and a random message afterwards
26-
/^(\s*@.+)?\s*https:\/\/[^\s]+(\n|.|\s)*(It'll blow your mind\.|[dD]on'?t [mM]iss|Bots for u|Finally|💜|fax|only until|Bots are|:]|\.\.?\.$|I found it :|Do not miss this|:)|Ye[sp] ¤? (true|exactly)/i,
26+
/^(\s*@.+)?\s*https:\/\/[^\s]+(\n|.|\s)*(It'll blow your mind\.|This is where (the )?world'?s first " ?Rick Rolled" started\.?|[dD]on'?t [mM]iss|Bots for u|Finally|💜|fax|only until|Bots are|:]|\.\.?\.$|I found it :|Do not miss this|:)|Ye[sp] ¤? (true|exactly)/i,
2727
// word + link
2828
/^(\s*@.+)?\s*(This|[Ww]ow!?|Last fight|Yo)\s*https:\/\/[^\s]+/,
2929
// phrase + line + link
3030
/(is a brain burner.*|10,000.*?!|by having this:|it.?s finally here|Finally it's here\.?(\s*YES)?|deceives.*subscribers:\.{1,}|you .*will never love.*|[\u0401\u0451\u0410-\u044f,.:]{15,}.*|HOW STRONG IS KETTLE\?!|EXPOSED:|IS FREAK!|IS GARBAGE!{1,}|shocking truth.*|his subscribers.*|will stop watching.*|yes\.?|THE GAME.*|After watching this video you will never love.*)(\n|\s)(\n|.)*https:\/\/[^\s]+/,
31+
// various languages + line + link
32+
/^[\p{Script=Cyrillic}\s!\.]*(\n|\s)(\n|.)*https:\/\/((www|m)\.)?youtu[^\s]+/iu,
3133
// link + random "word"
3234
/^(\s*@.+)?\s*https:\/\/[^\s]+\s*[a-z]+\s*$/,
3335
// link with a star at the end??

0 commit comments

Comments
 (0)