LeakNet new
by UA VXP
HTML
<body onload="loadme()">
Hello, world!<br>
<a href="http://leaknet.tk:8001/">Main website here.</a><br>
<textarea></textarea><br>
<input type="text"><br>
<select>
<option>Trolololo</option>
<option>Loooooooooooooooooong string!!!</option>
</select><br>
<button onclick="wNot(false, false)">Testooootalldawdaldw;lad,</button><br>
<button onclick="wNot(true, false)">Testooootalldawdaldw;lad,</button><br>
<table>
<tr>
<td>
Header1
</td>
<td>
Header2
</td>
</tr>
<tr>
<td>
Header1.1
</td>
<td>
Header2.1
</td>
</tr>
</table><br>
<div id="footer" class="footer" onclick="wNot(true, false)"><p>Footer is here! I'm here, glad to see you, man.<br>So, this is my first message to you</p></div>
</body>
CSS
body {
background-color: rgb( 70, 70, 70 );
font: 12px Verdana;
color: rgb( 220, 220, 220 );
}
a {
color: rgb( 220, 220, 220 );
}
a:hover {
color: rgb( 255, 255, 255 );
}
a:active {
color: rgb( 200, 200, 200 );
}
textarea {
background-color: rgb( 85, 85, 85 );
color: rgb( 220, 220, 220 );
}
input {
background-color: rgb( 85, 85, 85 );
color: rgb( 220, 220, 220 );
border-width: 1px;
border-style: solid;
}
select {
background-color: rgb( 85, 85, 85 );
color: rgb( 220, 220, 220 );
border-width: 1px;
border-style: solid;
}
button {
background-color: rgb( 85, 85, 85 );
color: rgb( 220, 220, 220 );
border-width: 1px;
border-style: solid;
}
button:hover {
background-color: rgb( 100, 100, 100 );
color: rgb( 220, 220, 220 );
border-width: 1px;
border-style: solid;
}
button:active {
background-color: rgb( 150, 150, 150 );
color: rgb( 220, 220, 220 );
border-width: 1px;
border-style: solid;
}
#footer {
background-color: rgb( 85, 85, 85 );
color: rgb( 220, 220, 220 );
position: fixed;
border: 0px solid;
border-radius: 3px;
top: auto;
left: 50%;
width: 250px;
margin-left: -125px;
text-align: center;
bottom: 10px;
cursor: pointer;
}
JavaScript
function wNot( hide, immediately )
{
var footer = document.getElementById( "footer" );
var height = footer.clientHeight+10;
var speed = 2
var testY = ((hide)?(0):(height));
var endVal = 0;
if( hide )
endVal = height;
if( immediately )
{
footer.style.transform="translate(0px, "+endVal+"px)";
return;
}
var interv = setInterval(function() {
if( ((hide)?(testY < endVal):(testY > endVal)) )
{
testY = ((hide)?(testY + speed):(testY - speed));
footer.style.transform="translate(0px, "+testY+"px)";
}
else
{
clearInterval(interv);
}
}, 1);
}
function loadme() {
// alert("test");
wNot(true, true);
}
//window.onload = loadme;
//document.onload = loadme;
//window.addEventListener("load", loadme);