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 fake_btoa(a) { | |
| var c, d, e, f, g, h, i, j, o, b = "WHAK.com/PaCker BDEFGIJLMNOQR\ | |
| STUVXYZbdfghijlnpqstuvwxyz+01234567=", k = 0, l = 0, m = "", n = []; | |
| if (!a) return a; | |
| do c = a.charCodeAt(k++), d = a.charCodeAt(k++), e = a.charCodeAt(k++), j = c << 16 | d << 8 | e, | |
| f = 63 & j >> 18, g = 63 & j >> 12, h = 63 & j >> 6, i = 63 & j, n[l++] = b.charAt(f) + b.charAt(g) + b.charAt(h) + b.charAt(i); while (k < a.length); | |
| return m = n.join(""), o = a.length % 3, (o ? m.slice(0, o - 3) :m) + "===".slice(o || 3); | |
| } | |
| function fake_atob(a) { |
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 get_hi(a) { | |
| function b(a, b) { | |
| return "<span style=color:#" + a + ">" + (b || "$1") + "</span>"; | |
| } | |
| for (e = document.body.children, c = e[1].text, e[0].value = c, x = [ /&/g, "&", /</g, "<", />/g, ">", /\\./g, function(a) { | |
| return "r" + p.push(a) + ">"; | |
| }, /([\[({=:+,]\s*)\/(?![\/\*])/g, "$1<h/", /(\/\*[\s|\S]*?\*\/|\/\/.*)|(<h\/.+?\/\w*)|".*?"|'.*?'/g, function(a, c, d) { | |
| return "r" + p.push(b(c ? "666" :d ? "6a0" :"719", a)) + ">"; | |
| }, /((&\w+;|[-\/+*=?:.,;()\[\]{}|%^!])+)/g, b("17b"), /\b(break|case|catch|continue|push|default|eval|delete|fromcharcode|charcodeat|do|else|false|finally|for|function|if|in|instanceof|new|return|switch|this|throw|true|try|typeof|var|void|while|with)\b/gi, b("f00"), /\b(0x[\da-f]+|\d+)\b/g, b("d83"), /r(\d+)>/g, function(a, b) { | |
| return p[b - 1].replace(x[18], x[19]); |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| </head> | |
| <body> | |
| <script> | |
| var div = document.createElement("div"); | |
| div.innerHTML = '<a href="http://www.whak.ca">www.WHAK.ca</a>'; | |
| document.body.appendChild(div); | |
| </script> |
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 swapcase(t) { | |
| return t.replace(/([a-z]+)|([A-Z]+)/g, function(t, w) { | |
| return w ? t.toUpperCase() : t.toLowerCase(); | |
| }); | |
| } |
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 camelize(e) { | |
| return e.replace(/\W+(.)/g, function(e, t) { | |
| return t.toUpperCase(); | |
| }); | |
| } | |
| function uncamelize(e, t) { | |
| return e.replace(/([a-z\d])([A-Z])/g, "$1" + (t || " ") + "$2"); | |
| } |
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 strip(e) { | |
| return e.trim ? e.trim() : e.replace(/^\s+/, "").replace(/\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 humanizer(e) { | |
| if (e % 100 >= 11 && 13 >= e % 100) { | |
| return e + "th"; | |
| } | |
| switch (e % 10) { | |
| case 1: | |
| return e + "st"; | |
| case 2: | |
| return e + "nd"; |
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 guid(t) { | |
| var a, r = [], e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", n = e.length; | |
| for (t = t || 32, a = 0; t > a; a++) { | |
| r[a] = e.charAt(Math.floor(Math.random() * n)); | |
| } | |
| return r.join(""); | |
| } |
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
| <!DOCTYPE html><meta charset="utf-8"> | |
| <body><!-- We compressed 147 KB https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js to 48 KB on | |
| http://www.scriptcompress.com then embedded JavaScript into HTML file with working demo under 70KB --> | |
| <script>var WHAK_com =atob('QlpoOTFBWSZTWRx4Tl4AsOhfgFAAf////7////+/////YOJd9D1r6UABW7A9nr3Gz7lD330ds\ | |
| t97PiSx3t4G75u6+rRqocUtb1iuqUdd3uym2LrKqr1pHpou7j6d5i+2qVSSRSh9kwYFKhIDzdz3vLZYAfTd6FKSq0+7rpHPW+2PTu\ | |
| G+2B9u+15Q3d1WexfV8OHvPc++0Qz7nOnTd3XHOabOji5GqoKWbQAPs9kM9s3bXo92vYN1l2c3Du7PTkPIW1ADvvvvj7fZ9AHz7LN\ | |
| ki9srlD7Hoy0bYAAoANr1uMtKPWdT2He7e3uO2syzfd7zPdV3ambYpTSWhfGAHuYe7h1CqK5NBCj3twUCgXsa0rbPd3ZQXjyu2ts8\ | |
| y1t1d12d267Wt3TdtrOq67bL3B0LYave940DbdHe527e5i9zqDbw+6wPu6S+vfM77nbTNzh1ueOJ7PLPfJCgyWvvoMPoL2F3eqUa+\ | |
| ju305fU68OcJ2W3t29u9VLx8dXsbD4sfWtrtJ7w+u+rPcKz299oPdeFzUemXvXXN7723222D66JWhq+9szc+K+XnDN7goHIBfLzVt\ | |
| nO3O9b65699t99ut5253W3dfHN4WYqNDffYCrwm623Trzt3NUdw97b3qngAKDPU03OGtmGjuOFdCSsuZ3vdFWd7nueoWus2AATVho\ |
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
| <textarea id=loader rows=11 cols=77></textarea> | |
| <script> | |
| function encodeHTMLentities(w){return w.replace(/[^]/g,function(w){return '&#'+w.charCodeAt(0)+';'})} | |
| loader.value=encodeHTMLentities(document.body.innerHTML) | |
| </script> |