Created
January 14, 2017 02:13
-
-
Save mediaupstream/0e6d5345a3a6a5f0f7b38fd44f7a9d84 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
javascript:(function(){if(typeof jQuery=='undefined'){var jQ=document.createElement('script');jQ.type='text/javascript';jQ.onload=bookmarklet;jQ.src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js';document.body.appendChild(jQ);}else{bookmarklet();}function bookmarklet(){(function($){var LOLTranslate=function(h,g){var g=(typeof g==="undefined"||g==true)?true:false;var j="";var m={"i can have":"i can has","oh really":"orly",seriously:"srsly",uestion:"wesjun",unless:"unles",really:["rly","rily","rilly","rilley"],"you're":["yore","yr"],buddah:"ceiling cat",kitten:"kitteh",cture:"kshur",esque:"esk",tious:"shus",thank:["fank","tank","thx","thnx"],world:["wurrld","whirld","wurld","wrld"],hello:"oh hai",howdy:"oh hai",allah:"ceiling cat",diety:"ceiling cat",kitty:"kitteh","this":"thiz",eady:"eddy",what:["wut","whut"],more:"moar",sion:"shun",just:"jus",want:"waants",eese:"eez",ucke:["ukki","ukke"],sion:"shun",like:["likes","liek"],love:["loves","lub","lubs","luv"],outh:"owf",scio:"shu",ture:"chur",sure:"shur",were:"was",ease:"eez",have:["has","hav","haz a"],your:["yur","ur","yore","yoar"],good:["gud","goed","guud","gude","gewd"],ight:"ite",tion:"shun",ome:"um",are:["r","is","ar"],you:["yu","yous","yoo","u"],the:"teh",ose:"oze",ead:"edd",eak:"ekk",age:"uj",dog:"slowpaw",who:"hoo",ese:"eez",too:["to","2"],tty:"tteh",thy:"fee",que:"kwe",oth:"udd",ing:["in","ins","ng","ing"],ove:["oov","ove","uuv","uv","oove"],"for":["fore","4","fr","fur","for","foar"],"i'm":"im",hey:"oh hai",god:"ceiling cat",cat:"kitteh",ph:"f",as:"az",my:["muh","mah"],er:"r",of:["of","ov","of"],is:["ar teh","ar"],nd:"n",ok:["k","kay"],ym:"im",ly:"li"};h=h.toLowerCase();for(k in m){j+="("+k+")|";}j=j.slice(0,-1);var f=new RegExp(j,"gm");var e=h.match(f);if(!e){return(g)?h.toUpperCase():h;}for(var d=0,b=e.length;d<b;d++){var a=m[e[d]];if(typeof a!=="string"){a=a[Math.floor(Math.random()*a.length)];}h=h.replace(e[d],a);}return(g)?h.toUpperCase():h;};$('body').each(function(){traverseChildNodes(this);});function traverseChildNodes(node){var next;if(node.nodeType===1){if(node=node.firstChild){do{next=node.nextSibling;traverseChildNodes(node);}while(node=next);}}else if(node.nodeType===3){if(node.data.trim()!=''){node.data=LOLTranslate(node.data);}}}})(jQuery);}})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment