html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!--
Like First, otherwise you wont able to come this page again...
-->
<!DOCTYPE html>
<html>
<head>
<title>Virus</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
</head>
<body>
<div>
<button id="btn" onClick="virus()"><i class="fa fa-male fa-lg"></i> Don't Click Me</button>
</div>
<div id="imgContainer" style="display:none;heigh:100px;width=100px">
<img src="http://www.w3schools.com/html/programming.gif" alt="Installing Virus">
</div>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
button
{
border-style:none;
background-color: lightgreen;
padding:20px;
box-shadow:5px 5px 3px;
}
div
{
text-align:center;
margin-top:50px;
}
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
var txt = "";
txt = "New Updates 1.3 \n\n";
txt += "1. Best Viewed in Mobile Devices\n";
txt += "2. Installing Virus Logo";
alert("Thanks for 500+ Likes .....");
alert(txt);
function virusPrint()
{
var a = ["🐞","🐍","🐙","🕷","🐛","🐜","🦀","🐉","🐊","🐲","🐸"];
var vir;
var str = "";
var i;
var ran;
do
{
ran = Math.floor(Math.random()*200);
vir = Math.floor(Math.random()*10);
for(i=0;i<ran;i++)
str += a[vir];
alert(str);
str = "";
}
while(1);
}
function virus()
{
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run