[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/freekukuku/ - 自由ku岛

临时避难所
Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Oekaki
Show oekaki applet
(replaces files and can be used instead)
Options
dicesidesmodifier

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov, pdf
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload2 per post.


87f589 No.5303

谁能发一下屏蔽脚本,刷屏贱畜太烦了😡

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

87f589 No.5320

找到了😡


(function() {
'use strict';
var id;
// 屏蔽词
var wordList = ["支那猪不屠能行吗",]
// 过滤所有主题内容含屏蔽词的串(包括其回复)
var threads = document.getElementsByClassName("thread");
for (let i = 0; i < threads.length; i++) {
var t = threads[i];
for (const j in wordList) {
if(t.children[1].innerText.indexOf(wordList[j]) != -1){
id = t.id;
document.getElementById(id).className = "hidden";
i-=1;
break;
}
}

}
//过滤所有内容含屏蔽词的回复
var replies = document.getElementsByClassName("post reply");
for (let i = 0; i < replies.length; i++) {
var r = replies[i];
for (const j in wordList) {
if(r.innerText.indexOf(wordList[j]) != -1){
id = r.id;
document.getElementById(id).className = "hidden";
i-=1;
break;
}
}
}
// Your code here...
})();

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]