-
Notifications
You must be signed in to change notification settings - Fork 15
/
bookmark.js
1 lines (1 loc) · 876 Bytes
/
bookmark.js
1
javascript:(function(){"use strict";function n(n){return(+n+"").charAt(0)==n}function r(n){return n==n.toUpperCase()}function t(n){return d.indexOf(n)>=0}function e(n){var r=/\s/;return r.test(n)}function o(n){return n[Math.floor(Math.random()*n.length)]}function u(u){if(n(u))return o(s);if(t(u)||e(u))return u;var i=o(l);return r(u)?i.toUpperCase():i}function i(n){for(var r=n.length,t=[],e=0;r>e;e++)t[e]=u(n[e]);return t.join("")}function a(n,r){for(var t=r.split(" "),e=0;t.length>e;e++)t[e]=i(t[e]);return t.join(" ")}function f(n){var r,t;switch(n.nodeType){case 3:var e=a(n,n.nodeValue);n.nodeValue=e;break;case 1:case 9:for(r=n.firstChild;r;)t=r.nextSibling,f(r),r=t}}function c(n){n||(n="body");for(var r=document.querySelectorAll(n),t=0;r.length>t;t++)f(r[t])}var l="abcdefghijklmnopqrstuvwxyz",s="1234567890",d="-.,;:_ |<>*+(){}";window?window.obfuscate=c:c()})();