[source] escreve seu nome ninja
Página 1 de 1
[source] escreve seu nome ninja
hj no facebook vi um treco de "escreva seu nome ninja" entao resolvir fazer um script para automatizar isso, para usar basta salvar o script com extensao .html
- Código:
<html>
<body bgcolor=black text=white>
<script type="text/javascript">
function fts_ninja()
{
var texto_final;
texto = document.getElementById("texto").value;
cont = 0;
tam = texto.length;
while(cont <= tam)
{
if(texto[cont] == "a")
{
texto_final = texto_final + "ka";
}
else if(texto[cont] == "b")
{
texto_final = texto_final + "zu";
}
else if(texto[cont] == "c")
{
texto_final = texto_final + "mi";
}
else if(texto[cont] == "d")
{
texto_final = texto_final + "te";
}
else if(texto[cont] == "e")
{
texto_final = texto_final + "ku";
}
else if(texto[cont] == "f")
{
texto_final = texto_final + "lu";
}
else if(texto[cont] == "g")
{
texto_final = texto_final + "ji";
}
else if(texto[cont] == "h")
{
texto_final = texto_final + "ri";
}
else if(texto[cont] == "i")
{
texto_final = texto_final + "ki";
}
else if(texto[cont] == "j")
{
texto_final = texto_final + "zus";
}
else if(texto[cont] == "k")
{
texto_final = texto_final + "me";
}
else if(texto[cont] == "l")
{
texto_final = texto_final + "ta";
}
else if(texto[cont] == "m")
{
texto_final = texto_final + "rin";
}
else if(texto[cont] == "n")
{
texto_final = texto_final + "to";
}
else if(texto[cont] == "o")
{
texto_final = texto_final + "mo";
}
else if(texto[cont] == "p")
{
texto_final = texto_final + "no";
}
else if(texto[cont] == "q")
{
texto_final = texto_final + "ke";
}
else if(texto[cont] == "r")
{
texto_final = texto_final + "shi";
}
else if(texto[cont] == "s")
{
texto_final = texto_final + "ari";
}
else if(texto[cont] == "t")
{
texto_final = texto_final + "chi";
}
else if(texto[cont] == "u")
{
texto_final = texto_final + "do";
}
else if(texto[cont] == "v")
{
texto_final = texto_final + "ru";
}
else if(texto[cont] == "w")
{
texto_final = texto_final + "mei";
}
else if(texto[cont] == "x")
{
texto_final = texto_final + "na";
}
else if(texto[cont] == "y")
{
texto_final = texto_final + "fu";
}
else if(texto[cont] == "z")
{
texto_final = texto_final + "zi";
}
else
{
texto_final = texto_final + texto[cont];
}
cont++;
}
texto_final2 = /undefined(.*)undefined/.exec(texto_final);
document.write("<center>"+ texto_final2[1] + "</center>");
}
</script>
<center>
<h1>ESCREVA SEU NOME NINJA </h1>
<image src="http://images2.wikia.nocookie.net/__cb20120313201920/naruto/pt/images/d/de/Uchiha-itachi-5.jpg">
<hr>
<input type="text" id="texto">
<input type="button" value="nome ninja" onclick="fts_ninja()"> obs: digite o nome minusculo
<hr>
<font color=red>coded by hacker fts315</font>
</body>
</html>
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos