Skip to content

Instantly share code, notes, and snippets.

@zipcode
Created October 2, 2014 23:40
Show Gist options
  • Save zipcode/29ba7327ce9f2a148617 to your computer and use it in GitHub Desktop.
Save zipcode/29ba7327ce9f2a148617 to your computer and use it in GitHub Desktop.
javascript:(function(){var g="#gamergate";var f=function(t){return t.split(' ').map(function(w){return w.toLowerCase()==g?w:'butt'}).join(' ')};var es=document.getElementsByClassName("tweet-text");for(var i=0;i<es.length;i++){if(es[i].innerText.toLowerCase().indexOf(g)>0)es[i].innerText=f(es[i].innerText)}})()
@zipcode
Copy link
Author

zipcode commented Oct 3, 2014

Mine replaces every word that isn't #gamergate with "butt" :)

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