","","<",">","=","\42","@","\173","\175","\73","[","]","+","$","(",")"];
hacker = [" ꒰ ・゜ 𝑓𝑟𝑖𝑙𝑙𝑦"," ꒰ 𝑓𝑟𝑖𝑙𝑙𝑦","𝑓𝑟𝑖𝑙𝑙𝑦"," ꒰ ・゜ 𝑙𝑎𝑐𝑒"," ꒰ 𝑙𝑎𝑐𝑒","𝑙𝑎𝑐𝑒"," ꒰ ・゜ 𝑠𝑡𝑖𝑡𝑐ℎ𝑒𝑠"," ꒰ 𝑠𝑡𝑖𝑡𝑐ℎ𝑒𝑠"," ꒰ ・゜ 𝑐𝑜𝑙𝑙𝑎𝑟"," ꒰ 𝑐𝑜𝑙𝑙𝑎𝑟"," ꒰ ・゜ 𝑑𝑟𝑒𝑠𝑠"," ꒰ 𝑑𝑟𝑒𝑠𝑠","𝑑𝑟𝑒𝑠𝑠"," ꒰ ・゜ 𝑡𝑖𝑡𝑙𝑒"," ꒰ 𝑡𝑖𝑡𝑙𝑒"," ꒰ ・゜ 𝑖𝑛𝑓𝑜"," ꒰ 𝑖𝑛𝑓𝑜"," ꒰ ・゜ 𝑝ℎ𝑜𝑡𝑜"," ꒰ 𝑝ℎ𝑜𝑡𝑜"," ꒰ ・゜ 𝑑𝑜𝑜𝑟"," ꒰ 𝑑𝑜𝑜𝑟"," ꒰ ・゜ 𝑏𝑜𝑥"," ꒰ 𝑏𝑜𝑥"," ꒰ ・゜ 𝑗𝑢𝑚𝑝"," ꒰ 𝑗𝑢𝑚𝑝"," ꒰ ・゜ 𝑐𝑒𝑛𝑡𝑒𝑟"," ꒰ 𝑐𝑒𝑛𝑡𝑒𝑟"," ꒰ ・゜ 𝑤𝑟𝑖𝑡𝑖𝑛𝑔"," ꒰ 𝑤𝑟𝑖𝑡𝑖𝑛𝑔"," ꒰ ⊹ 𝑡𝑎𝑏𝑙𝑒"," ꒰ 𝑡𝑎𝑏𝑙𝑒"," ꒰ ・゜ "," ゜・ ꒱"," ✄ - - "," - - ♡ "," ꒰ "," ꒱ "," ·˚ "," ♡ "," ୨୧ "," ణ "," ഒ "," ꒱꒱", " ˖゜ ", " ゜˖ ", " ⊹ ", " ❀ ", " ( ", " ) "];
haxored = original;
for (i = 0; i < normal.length; i++){
haxored = haxored.replaceAll(normal[i],hacker[i]);
}
haxored = haxored.replace(/%%%/gi,"vv");
document.textConvForm.textConvArea.value = haxored;}
function convert1Hacker(){
original = document.textConvForm.textConvArea.value;
normal = [" ꒰ ・゜ 𝑓𝑟𝑖𝑙𝑙𝑦"," ꒰ 𝑓𝑟𝑖𝑙𝑙𝑦","𝑓𝑟𝑖𝑙𝑙𝑦"," ꒰ ・゜ 𝑙𝑎𝑐𝑒"," ꒰ 𝑙𝑎𝑐𝑒","𝑙𝑎𝑐𝑒"," ꒰ ・゜ 𝑠𝑡𝑖𝑡𝑐ℎ𝑒𝑠"," ꒰ 𝑠𝑡𝑖𝑡𝑐ℎ𝑒𝑠"," ꒰ ・゜ 𝑐𝑜𝑙𝑙𝑎𝑟"," ꒰ 𝑐𝑜𝑙𝑙𝑎𝑟"," ꒰ ・゜ 𝑑𝑟𝑒𝑠𝑠"," ꒰ 𝑑𝑟𝑒𝑠𝑠","𝑑𝑟𝑒𝑠𝑠"," ꒰ ・゜ 𝑡𝑖𝑡𝑙𝑒"," ꒰ 𝑡𝑖𝑡𝑙𝑒"," ꒰ ・゜ 𝑖𝑛𝑓𝑜"," ꒰ 𝑖𝑛𝑓𝑜"," ꒰ ・゜ 𝑝ℎ𝑜𝑡𝑜"," ꒰ 𝑝ℎ𝑜𝑡𝑜"," ꒰ ・゜ 𝑑𝑜𝑜𝑟"," ꒰ 𝑑𝑜𝑜𝑟"," ꒰ ・゜ 𝑏𝑜𝑥"," ꒰ 𝑏𝑜𝑥"," ꒰ ・゜ 𝑗𝑢𝑚𝑝"," ꒰ 𝑗𝑢𝑚𝑝"," ꒰ ・゜ 𝑐𝑒𝑛𝑡𝑒𝑟"," ꒰ 𝑐𝑒𝑛𝑡𝑒𝑟"," ꒰ ・゜ 𝑤𝑟𝑖𝑡𝑖𝑛𝑔"," ꒰ 𝑤𝑟𝑖𝑡𝑖𝑛𝑔"," ꒰ ⊹ 𝑡𝑎𝑏𝑙𝑒"," ꒰ 𝑡𝑎𝑏𝑙𝑒"," ꒰ ・゜ "," ゜・ ꒱"," ✄ - - "," - - ♡ "," ꒰ "," ꒱ "," ·˚ "," ♡ "," ୨୧ "," ణ "," ഒ "," ꒱꒱", " ˖゜ ", " ゜˖ ", " ⊹ ", " ❀ ", " ( ", " ) "];
hacker = ["","","<",">","=","\42","@","\173","\175","\73","[","]","+","$","(",")"];
haxored = original;
for (i = 0; i < normal.length; i++){
haxored = haxored.replaceAll(normal[i],hacker[i]);
}
haxored = haxored.replace(/%%%/gi,"vv");
document.textConvForm.textConvArea.value = haxored;}
function convert2PigLatin(){
original = document.textConvForm.textConvArea.value;
noriginal = original;
noriginal = noriginal.replace(/\"/gi,"");
working = new Array;
working = noriginal.split(" ");
for (i = 0; i < working.length; i++){
firstChar = working[i].charAt(0);
secondChar = working[i].charAt(1);
thirdChar = working[i].charAt(2);
wordLength = working[i].length;
punctuation = ["!","?",";",":",".",","];
upCaseLet = ["A","B","C","D","E","F","G","H","I","J","K","L","M ","N","O","P","Q","R","S","T","U","V","W","X","Y", "Z"];
if (firstChar == "a" || firstChar == "e" || firstChar == "i" || firstChar == "o" || firstChar == "u" || firstChar == "y" || firstChar == "A" || firstChar == "E" || firstChar == "I" || firstChar == "O" || firstChar == "U" || firstChar == "Y"){working[i]=working[i]+"way";}
else if (firstChar == "q" || firstChar == "Q" && secondChar == "u" || secondChar == "U")
{
newWord="";for (l = 1; l < working[i].length; l++){newWord=newWord+working[i].charAt(l+1);}
working[i]=newWord+firstChar+secondChar+"ay";}
else if(isNaN(working[i])){
if (secondChar != "a" && secondChar != "e" && secondChar != "i" && secondChar != "o" && secondChar != "u" && secondChar != "A" && secondChar != "E" && secondChar != "I" && secondChar != "O" && secondChar != "U"){
if (thirdChar != "a" && thirdChar != "e" && thirdChar != "i" && thirdChar != "o" && thirdChar != "u" && thirdChar != "A" && thirdChar != "E" && thirdChar != "I" && thirdChar != "O" && thirdChar != "U"){
newWord="";for (m = 2; m < working[i].length; m++){newWord=newWord+working[i].charAt(m+1);}
working[i]=newWord+firstChar+secondChar+thirdChar+"ay";}
else{newWord="";for (k = 1; k < working[i].length; k++){newWord=newWord+working[i].charAt(k+1);}
working[i]=newWord+firstChar+secondChar+"ay";}}
else{newWord="";for (j = 0; j < working[i].length; j++){newWord=newWord+working[i].charAt(j+1);}
working[i]=newWord+firstChar+"ay";}}
for (q = 0; q < punctuation.length; q++){
if(working[i].indexOf(punctuation[q])!= -1){
working[i] = working[i].replace(/\!/gi,"");
working[i] = working[i].replace(/\?/gi,"");
working[i] = working[i].replace(/\;/gi,"");
working[i] = working[i].replace(/\:/gi,"");
working[i] = working[i].replace(/\./gi,"");
working[i] = working[i].replace(/\,/gi,"");
if(punctuation[q] == ","){working[i] = working[i]+"%%%";}
else{working[i] = working[i]+punctuation[q];}}}
for (n = 0; n < upCaseLet.length; n++){
if(working[i].indexOf(upCaseLet[n])!= -1){
working[i] = working[i].toLowerCase();
newWord="";for (o = 0; o < working[i].length; o++){
newWord=newWord+working[i].charAt(o+1);}
working[i] = working[i].charAt(0).toUpperCase()+newWord;}}}
working = working.toString();
working = working.replace(/,/gi," ");
pigLatin = working.replace(/%%%/gi,",");
document.textConvForm.textConvArea.value = pigLatin;}
function convert2drawkcaB(){
original = document.textConvForm.textConvArea.value;
drawkcabWork = original.split("");
drawkcabWork = drawkcabWork.reverse();
drawkcab = "";
for (i = 0; i < drawkcabWork.length; i++){
drawkcab = drawkcab+drawkcabWork[i];}
document.textConvForm.textConvArea.value = drawkcab;}
function reSet(){
document.textConvForm.textConvArea.value = originalText;}
function copy(){
copied = document.textConvForm.textConvArea.createTextRange ();
copied.execCommand("Copy");}
function clearBox(){
document.textConvForm.textConvArea.value = "";
document.textConvForm.textConvArea.focus();}