[ / / / / / / / / / / / / / ] [ 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.


5fed04 No.5369

已修改😡


//屏蔽广告
(function() {
'use strict';
//delete announcement
var aa = document.getElementsByClassName('announcement')
for (let i = 0; i < aa.length; i++) {
aa[i].innerHTML = ''
aa[i].innerText = ''
}
//delete ad
var bb = document.querySelector('.ad-banner')
if(null !== bb){
bb.parentNode.removeChild(bb);
}
//delete disclaimer
var cc = document.getElementsByClassName('disclaimer-8kun')
for (let i = 0; i < cc.length; i++) {
cc[i].innerHTML = ''
cc[i].innerText = ''
}
//delete bottom_ads
var dd = document.querySelector('.bottom_ads')
if(null !== dd){
dd.parentNode.removeChild(dd);
}
//delete bottom
var ee = document.querySelector('.bottom')
if(null !== ee){
ee.parentNode.removeChild(ee);
}
//delete footer
var ff = document.querySelector('footer')
if(null !== ff){
ff.parentNode.removeChild(ff);
}
})();
//屏蔽刷屏
(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 ]