dumpKremlebots av Oleg
JS addon to delete posts of kremlebots on 2ch.org
Inga användareInga användare
Metadata för tillägg
Om detta tillägg
It just deletes messages from DOM
// choose all posts of thread
allPosts = document.getElementsByClassName("post__message ")
}
// choose all posts of thread
allPosts = document.getElementsByClassName("post__message ")
for (let i = 0; i < allPosts.length; i++) {
postText = allPosts[i].textContent.trim().replace('(OP)', '').toLowerCase()
postText = postText.replace(/\>+(\d+)>/g, '').replace(/\>+(\d+)/g, '')
if (lahtaShit.some(word => postText.includes(word))) {
allPosts[i].style.border = '3px solid green'
allPosts[i].textContent = 'LAHTA REMOVED'
}
}
}
Betyg 0 av 0 recensenter
Behörigheter och data
Mer information
- Version
- 2.0
- Storlek
- 13,93 kB
- Senast uppdaterad
- för 3 månader sedan (18 jan 2026)
- Relaterade kategorier
- Licens
- MIT-licens
- Versionshistorik
- Lägg till i samling