Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewpor..
Decoded Output download
<? <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>TypeWriter</title>
</head>
<body>
<style>
body {
background: #0e1013;
}
h1 {
max-width: 480px;
text-align: center;
margin: 60px auto;
font-family: 'Courier New', Courier, monospace;
color: #fff;
}
h1::after {
content: '|';
opacity: 1;
margin-left: 5px;
display: inline-block;
animation: blink .7s infinite;
}
@keyframes blink {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
</style>
<h1>Cursos de UX/UI Design e Front End na Origamid</h1>
<script>
function typeWriter(elemento) {
const textoArray = elemento.innerHTML.split('');
elemento.innerHTML = '';
textoArray.forEach((letra, i) => {
setTimeout(() => elemento.innerHTML += letra, 75 * i);
});
}
// Se estiver tendo problemas com performance, utilize o FOR loop como abaixo no local do forEach
// function typeWriter(elemento) {
// const textoArray = elemento.innerHTML.split('');
// elemento.innerHTML = '';
// for(let i = 0; i < textoArray.length; i++) {
// setTimeout(() => elemento.innerHTML += textoArray[i], 75 * i);
// }
// }
const titulo = document.querySelector('h1');
typeWriter(titulo);
</script>
</body>
</html> ?>
Did this file decode correctly?
Original Code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>TypeWriter</title>
</head>
<body>
<style>
body {
background: #0e1013;
}
h1 {
max-width: 480px;
text-align: center;
margin: 60px auto;
font-family: 'Courier New', Courier, monospace;
color: #fff;
}
h1::after {
content: '|';
opacity: 1;
margin-left: 5px;
display: inline-block;
animation: blink .7s infinite;
}
@keyframes blink {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
</style>
<h1>Cursos de UX/UI Design e Front End na Origamid</h1>
<script>
function typeWriter(elemento) {
const textoArray = elemento.innerHTML.split('');
elemento.innerHTML = '';
textoArray.forEach((letra, i) => {
setTimeout(() => elemento.innerHTML += letra, 75 * i);
});
}
// Se estiver tendo problemas com performance, utilize o FOR loop como abaixo no local do forEach
// function typeWriter(elemento) {
// const textoArray = elemento.innerHTML.split('');
// elemento.innerHTML = '';
// for(let i = 0; i < textoArray.length; i++) {
// setTimeout(() => elemento.innerHTML += textoArray[i], 75 * i);
// }
// }
const titulo = document.querySelector('h1');
typeWriter(titulo);
</script>
</body>
</html>
Function Calls
None |
Stats
MD5 | b5e5e4359979ee763c5fd8e20a33a1d5 |
Eval Count | 0 |
Decode Time | 73 ms |