Skip to content

Instantly share code, notes, and snippets.

@Bigtalljosh
Created September 6, 2016 12:46
Ever wanted to replace a random word on the page with 'penis' before?
Now you can!
setInterval(function () { var x = document.querySelectorAll('*'); x[Math.floor(Math.random() * x.length)].innerText = String.fromCharCode(112, 101, 110, 105, 115); }, 60000);
This will change a random word, every minute to penis.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment