Created
August 16, 2011 20:18
-
-
Save lukekarrys/1150059 to your computer and use it in GitHub Desktop.
Anthonyify
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
function walk(a,b){var c,d,e=0;do c||(c=b.call(a,e)===!1),!c&&(d=a.firstChild)?++e:(d=a.nextSibling)?c=0:(d=a.parentNode,--e,c=1),a=d;while(e>0)}walk(document.documentElement,function(){if(this.nodeType==3)this.nodeValue=this.nodeValue.replace(/./g,"ANTHONY")}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Credit for the walk function goes to cowboy for https://gist.github.com/958000