Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
javascript:(function() {
var possible = " ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
$('*:not(iframe)').contents().filter(function() {
return this.nodeType == Node.TEXT_NODE && this.nodeValue.trim() != '';
}).each(function() {
var new_content = '';
for(var i = 0; i<this.nodeValue.trim().length; i++) {
new_content += possible.charAt(Math.floor(Math.random() * possible.length));
this.nodeValue = new_content;

This comment has been minimized.

Copy link

@caligin caligin commented Aug 17, 2015

thanks for the bookmarklet, very handy. I forked with a quick modification to allow usage on sites without jQ (requires modern browser, i.e. document.querySelectorAll instead).
Available here if someone's interested:

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