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
| var Δ='JavaScript Packer'; | |
| function str2bin(Δ, w, o) { | |
| w = []; | |
| for (o in Δ) { | |
| w.push(Δ.charCodeAt(o).toString(2)); | |
| } | |
| return w.join(" "); | |
| } | |
| alert(str2bin(Δ)); |
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
| // I still can't get over how I can obfuscate alert(69) to | |
| \u0061\u006c\u0065\u0072\u0074(69) | |
| // and it will still work (in JavaScript) |
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
| http://jsfiddle.net/nh8e22r4/show/ - 2,500 bookmarklets |
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
| function replaceAllExact(str,find,replace){ | |
| return str.split(find).join(replace) | |
| }; | |
| alert(replaceAllExact('Google VS. www.google.com','google','seekfreak')); | |
| //minified | |
| //function i(i,a,e){return i.split(a).join(e)}alert(i("Google VS. www.google.com","google","seekfreak")) |
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
| function smilies(e){var r,n,t,R='\x72\x65\x70\x6c\x61\x63\x65',a=""; | |
| for(r=0;r<e.length;r++)n=e.\u0063\u0068\u0061\u0072\u0043\u006f\u0064\u0065\u0041\u0074(r).\u0074\u006f\u0053\u0074\u0072\u0069\u006e\u0067(4),t=n[R](/0/g,":(")[R](/1/g,":)")[R](/2/g,":P")[R](/3/g,":D"),a+=t+" "; | |
| var p1="\x76\x61\x72\x20\x7a\x3d\x27\\\n\\\n",p3="\\\n\\\n',u=\\u0052\\u0065\\u0067\\u0045\\u0078\\u0070,\\u0072,\\u006e,\\u0074,\\u0061='',\\u006f=\\u007a['\\x73\\x70\\x6c\\x69\\x74'](' ');for(\\u0072=0;\\u0072<\\u006f['\\x6c\\x65\\x6e\\x67\\x74\\x68'];\\u0072++)\\u006e=\\u006f[\\u0072],\\u0074=\\u006e[x='\\x72\\x65\\x70\\x6c\\x61\\x63\\x65'](u(':\\\\(','g'),'0')[x](u(':\\\\)','g'),'1')[x](/:P/g,'2')[x](/:D/g,'3'),\\u0061+=\\u0053\\u0074\\u0072\\u0069\\u006e\\u0067['\\x66\\x72\\x6f\\x6d\\x43\\x68\\x61\\x72\\x43\\x6f\\x64\\x65'](\\u0070\\u0061\\u0072\\u0073\\u0065\\u0049\\u006e\\u0074(\\u0074,4));\\u0065\\u0076\\u0061\\u006c(\\u0061[x](/\\0/g,''));\x2f\x2a\x20\x77\x77\x77\x2e\x57\x48\x41\x4b\x2e\x63\x61\x20\x2a\x2f"; | |
| \u0073\u006d\u0 |
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
| function whak(e) { | |
| var r, n, t, a = ""; | |
| for (r = 0; r < e.length; r++) n = e.charCodeAt(r).toString(10), t = n[R = "replace"](/0/g, " ")[R](/1/g, "")[R](/2/g, "")[R](/3/g, "")[R](/4/g, "")[R](/5/g, " ")[R](/6/g, " ")[R](/7/g, " ")[R](/8/g, " ")[R](/9/g, " "), | |
| a += t + ""; | |
| return a;} | |
| function unwhak(o, r, n, t, a) { | |
| a = ""; | |
| o = o.split(""); | |
| for (r = 0; r < o.length; r++) n = o[r], t = n[R = "replace"](/ /g, "0")[R](//g, "1")[R](//g, "2")[R](//g, "3")[R](//g, "4")[R](/ /g, "5")[R](/ /g, "6")[R](/ /g, "7")[R](/ /g, "8")[R](/ /g, "9"), | |
| a += String.fromCharCode(parseInt(t, 10)); |
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
| //uncombine combined combiners | |
| function Δ(n, t, r, o) { | |
| for (o = [], t = 0, r = n.length; r > t; ++t) { | |
| o.push(n.charAt(t)); | |
| } | |
| return o.join(" "); | |
| } | |
| alert(Δ("S̨̥̫͎̭ͯ̿̔̀ͅ")); |
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
| function possible(e, n, t, r, W) { | |
| if (0 === e.length) { | |
| return []; | |
| } | |
| if (1 === e.length) { | |
| return e[0]; | |
| } | |
| n = [], t = possible(e.slice(1)); | |
| for (r in t) { | |
| for (W = 0; W < e[0].length; W++) { |
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
| function replacer(W, H, A, K) { | |
| K = W.replace(new RegExp(H, "g"), A); | |
| return K; | |
| } | |
| var str = "WHom"; | |
| var find = "Ho"; | |
| var r3plac3 = "HAK\u002eco"; | |
| alert(replacer(str, find, r3plac3)); |