Created
January 11, 2017 15:46
-
-
Save digitalicarus/a248ab32724c4d1378a867bd3319e5d6 to your computer and use it in GitHub Desktop.
wackycase
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(){var t=function(r){var n,a=[],w=document.createTreeWalker(r,NodeFilter.SHOW_TEXT,null,false);while(n=w.nextNode()) a.push(n);return a;},i,n=t(document.body); for(i=0;i<n.length;i++) n[i].nodeValue=n[i].nodeValue.replace(/./g, function(c) { return c['aeiou'.indexOf(c.toLowerCase()) > -1 ? 'toLowerCase' : 'toUpperCase'](); });})() |
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(){var t=function(r){var n,a=[],w=document.createTreeWalker(r,NodeFilter.SHOW_TEXT,null,false);while(n=w.nextNode()) a.push(n);return a;},i,n=t(document.body); for(i=0;i<n.length;i++) n[i].nodeValue=n[i].nodeValue.replace(/./g, function(c) { return c[Math.random() > .5 ? 'toUpperCase' : 'toLowerCase'](); });})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment