Created
July 21, 2016 03:24
-
-
Save haskellcamargo/5dd522127442a9a393c1d03f3b080bd0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var shitPosting; | |
function clearShitFromAPDA() { | |
Array.prototype.slice.call(document.getElementsByClassName('userContent'), 0) | |
.filter(x => x.innerText.match(/^\[off\]/i)) | |
.map(x => x.parentNode.parentNode) | |
.forEach(x => x.parentNode.removeChild(x)); | |
shitPosting = setTimeout(clearShitFromAPDA, 1000); | |
} | |
clearShitFromAPDA(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Terrible (awesome)!