Last active
April 26, 2023 04:32
-
-
Save OlivierLaflamme/f7d3b2964894170e3dcba384a8db1a07 to your computer and use it in GitHub Desktop.
My first "Virus Script" be careful, once open you will loose all access to your browser or so I think im fairly new to this...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| button | |
| { | |
| border-style:none; | |
| background-color:lightgreen; | |
| padding:20px; | |
| box-shadow:5px 5px 3px; | |
| } | |
| div | |
| { | |
| text-align:center; | |
| margin-top:50px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <!-- | |
| Programme Conceived BY: Olivier Laflamme | |
| 2017 About, Inc - All Rights Reserved. | |
| --> | |
| <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"> | |
| <style id="jsbin-css"> | |
| button | |
| { | |
| border-style:none; | |
| background-color:lightgreen; | |
| padding:20px; | |
| box-shadow:5px 5px 3px; | |
| } | |
| div | |
| { | |
| text-align:center; | |
| margin-top:50px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div> | |
| <button id="btn" onClick="virus()"><i class="fa fa-male fa-lg"></i> 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> | |
| <script id="jsbin-javascript"> | |
| 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() | |
| { | |
| var el = document.getElementById("btn"); | |
| el.style.backgroundColor = "red"; | |
| el.innerHTML = "Please Wait .... Installing Virus"; | |
| setTimeout(virusPrint,3000); | |
| var img = document.getElementById("imgContainer"); | |
| img.style.display = "block"; | |
| } | |
| </script> | |
| <script id="jsbin-source-css" type="text/css">button | |
| { | |
| border-style:none; | |
| background-color:lightgreen; | |
| padding:20px; | |
| box-shadow:5px 5px 3px; | |
| } | |
| div | |
| { | |
| text-align:center; | |
| margin-top:50px; | |
| }</script> | |
| <script id="jsbin-source-javascript" type="text/javascript">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() | |
| { | |
| var el = document.getElementById("btn"); | |
| el.style.backgroundColor = "red"; | |
| el.innerHTML = "Please Wait .... Installing Virus"; | |
| setTimeout(virusPrint,3000); | |
| var img = document.getElementById("imgContainer"); | |
| img.style.display = "block"; | |
| }</script></body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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() | |
| { | |
| var el = document.getElementById("btn"); | |
| el.style.backgroundColor = "red"; | |
| el.innerHTML = "Please Wait .... Installing Virus"; | |
| setTimeout(virusPrint,3000); | |
| var img = document.getElementById("imgContainer"); | |
| img.style.display = "block"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment