We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
javascript:void((function(){"use strict";var charpool="abcdefghijklmnopqrstuvwxyz";var digitpool="1234567890";var symbolpool="-.,;:_ |<>*+(){}";var numericpresuffixpool="%$¥";function isDigit(val){return String(+val).charAt(0)==val;} function isUpperCase(myString){return(myString==myString.toUpperCase());} function isLowerCase(myString){return(myString==myString.toLowerCase());} function isSymbol(char){return symbolpool.indexOf(char)>=0;} function isNumericPreSuffix(char){return numericpresuffixpool.indexOf(char)>=0;} function isNumeric(word){if(isNumericPreSuffix(word.charAt(0))){word=word.substr(1);} if(isNumericPreSuffix(word.charAt(word.length-1))){word=word.substr(0,word.length-1);} word=parseFloat(word);return isFinite(word)&&!isNaN(toString.call(word)=='[object Number]'&&word!=+word);} function isWhitespace(char){var pat1=/\s/;return pat1.test(char);} function getRandomArrayEntry(pool){return pool[Math.floor(Math.random()*pool.length)];} function randomChar(old){if(isDigit(old)){return getRandomArrayEntry(digitpool);} if(isSymbol(old)||isWhitespace(old)){return old;} var r=getRandomArrayEntry(charpool);if(isUpperCase(old)){return r.toUpperCase();}else{return r;}} function getReplacingNumber(word){var newWord=word.replace(/[^\d]/g,'');var len=newWord.length;len+=Math.floor(Math.random()*4)-2;len=Math.max(len,1);newWord=Math.floor(Math.random()*Math.pow(10,len));if(isNumericPreSuffix(word.charAt(0))){newWord=word.charAt(0)+newWord;} if(isNumericPreSuffix(word.charAt(word.length-1))){newWord+=word.charAt(word.length-1);} return newWord;} function getReplacingWord(word){var len=word.length;var newChars=[];for(var i=0;i<len;i++){newChars[i]=randomChar(word[i]);} return newChars.join("");} function obfuscateText(node,text){var words=text.split(" ");for(var i=0;i<words.length;i++){if(isNumeric(words[i])){words[i]=getReplacingNumber(words[i]);}else{words[i]=getReplacingWord(words[i]);}} return words.join(" ");} function walk(node){var child,next;switch(node.nodeType){case 3:var newText=obfuscateText(node,node.nodeValue);node.nodeValue=newText;break;case 1:case 9:child=node.firstChild;while(child){next=child.nextSibling;walk(child);child=next;} break;}} function obfuscate(target,stylesArray) {if(!target) {target="body";} if(typeof(stylesArray)=="object") {var prefix=getVendorPrefix();if(prefix) {var testElement=document.createElement("div"),res=false;for(var i=0;i<stylesArray.length;i++) {testElement.style[stylesArray[i][0]]=stylesArray[i][1];res=testElement.style[stylesArray[i][0]];if(stylesArray[i][0].indexOf(prefix)!=0&&!res) {stylesArray[i][0]=prefix+ucfirst(stylesArray[i][0]);}}}} else {stylesArray=false;} var elems=document.querySelectorAll(target);for(var i=0;i<elems.length;i++) {if(stylesArray) {for(var j=0;j<stylesArray.length;j++) {elems[i].style[stylesArray[j][0]]=stylesArray[j][1];}} else {walk(elems[i]);}}} function getVendorPrefix() {var regex=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/;var someScript=document.getElementsByTagName('script')[0];for(var prop in someScript.style) {if(regex.test(prop)) {return prop.match(regex)[0].toLowerCase();}} if('WebkitOpacity'in someScript.style) return'webkit';if('KhtmlOpacity'in someScript.style) return'khtml';return'';} function ucfirst(str) {str+='';var f=str.charAt(0).toUpperCase();return f+str.substr(1);} if(window){window.obfuscate=obfuscate;} obfuscate();})() )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
javascript:void((function(){"use strict";var charpool="abcdefghijklmnopqrstuvwxyz";var digitpool="1234567890";var symbolpool="-.,;:_ |<>*+(){}";var numericpresuffixpool="%$¥";function isDigit(val){return String(+val).charAt(0)==val;} function isUpperCase(myString){return(myString==myString.toUpperCase());} function isLowerCase(myString){return(myString==myString.toLowerCase());} function isSymbol(char){return symbolpool.indexOf(char)>=0;} function isNumericPreSuffix(char){return numericpresuffixpool.indexOf(char)>=0;} function isNumeric(word){if(isNumericPreSuffix(word.charAt(0))){word=word.substr(1);} if(isNumericPreSuffix(word.charAt(word.length-1))){word=word.substr(0,word.length-1);} word=parseFloat(word);return isFinite(word)&&!isNaN(toString.call(word)=='[object Number]'&&word!=+word);} function isWhitespace(char){var pat1=/\s/;return pat1.test(char);} function getRandomArrayEntry(pool){return pool[Math.floor(Math.random()*pool.length)];} function randomChar(old){if(isDigit(old)){return getRandomArrayEntry(digitpool);} if(isSymbol(old)||isWhitespace(old)){return old;} var r=getRandomArrayEntry(charpool);if(isUpperCase(old)){return r.toUpperCase();}else{return r;}} function getReplacingNumber(word){var newWord=word.replace(/[^\d]/g,'');var len=newWord.length;len+=Math.floor(Math.random()*4)-2;len=Math.max(len,1);newWord=Math.floor(Math.random()*Math.pow(10,len));if(isNumericPreSuffix(word.charAt(0))){newWord=word.charAt(0)+newWord;} if(isNumericPreSuffix(word.charAt(word.length-1))){newWord+=word.charAt(word.length-1);} return newWord;} function getReplacingWord(word){var len=word.length;var newChars=[];for(var i=0;i<len;i++){newChars[i]=randomChar(word[i]);} return newChars.join("");} function obfuscateText(node,text){var words=text.split(" ");for(var i=0;i<words.length;i++){if(isNumeric(words[i])){words[i]=getReplacingNumber(words[i]);}else{words[i]=getReplacingWord(words[i]);}} return words.join(" ");} function walk(node){var child,next;switch(node.nodeType){case 3:var newText=obfuscateText(node,node.nodeValue);node.nodeValue=newText;break;case 1:case 9:child=node.firstChild;while(child){next=child.nextSibling;walk(child);child=next;} break;}} function obfuscate(target,stylesArray) {if(!target) {target="body";} if(typeof(stylesArray)=="object") {var prefix=getVendorPrefix();if(prefix) {var testElement=document.createElement("div"),res=false;for(var i=0;i<stylesArray.length;i++) {testElement.style[stylesArray[i][0]]=stylesArray[i][1];res=testElement.style[stylesArray[i][0]];if(stylesArray[i][0].indexOf(prefix)!=0&&!res) {stylesArray[i][0]=prefix+ucfirst(stylesArray[i][0]);}}}} else {stylesArray=false;} var elems=document.querySelectorAll(target);for(var i=0;i<elems.length;i++) {if(stylesArray) {for(var j=0;j<stylesArray.length;j++) {elems[i].style[stylesArray[j][0]]=stylesArray[j][1];}} else {walk(elems[i]);}}} function getVendorPrefix() {var regex=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/;var someScript=document.getElementsByTagName('script')[0];for(var prop in someScript.style) {if(regex.test(prop)) {return prop.match(regex)[0].toLowerCase();}} if('WebkitOpacity'in someScript.style) return'webkit';if('KhtmlOpacity'in someScript.style) return'khtml';return'';} function ucfirst(str) {str+='';var f=str.charAt(0).toUpperCase();return f+str.substr(1);} if(window){window.obfuscate=obfuscate;} obfuscate();})() )
The text was updated successfully, but these errors were encountered: