Skip to content

Instantly share code, notes, and snippets.

@haskellcamargo
Created July 21, 2016 03:24
Show Gist options
  • Save haskellcamargo/5dd522127442a9a393c1d03f3b080bd0 to your computer and use it in GitHub Desktop.
Save haskellcamargo/5dd522127442a9a393c1d03f3b080bd0 to your computer and use it in GitHub Desktop.
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();
@ryukinix
Copy link

Terrible (awesome)!

@pedrooaugusto
Copy link

O.o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment