ne02ptzero.me

my old website
Log | Files | Refs | LICENSE | git clone https://git.ne02ptzero.me/git/ne02ptzero.me

commit 0248bfa92eb84467bf2fa89a9d1bfc4c867ba9af
parent 6e4fa87d236f52ce9804e8d39e8c776828f7caff
Author: Ne02ptzero <l.solofrizzo@gmail.com>
Date:   Fri, 28 Nov 2014 16:53:22 +0100

Wut ?

Diffstat:
Awtf/audio.mp3 | 0
Awtf/index.html | 134+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 134 insertions(+), 0 deletions(-)

diff --git a/wtf/audio.mp3 b/wtf/audio.mp3 Binary files differ. diff --git a/wtf/index.html b/wtf/index.html @@ -0,0 +1,134 @@ +<!DOCTYPE HTML> + +<html> + <head> + <title>WTF</title> + <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> + <link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css" /> + <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script> + <script type="text/javascript" src="http://jqueryrotate.googlecode.com/svn/trunk/jQueryRotate.js"></script> + <script> + current = res = 0; + function rotateLOL() { + rotate = Math.floor((Math.random() * 90) + 500); + if (current == 0) { + rotate = -rotate; + current = 1; + } else { + current = 0; + } + $("body .main").rotate({animateTo: rotate, callback: rotateLOL, duration: 3000}); + } + + function resize() { + height = width = 500; + if (res == 0) { + height = width = 200; + res = 1; + } else + res = 0; + $("body .main").animate({height: height, width: width}, 2000, resize); + $("body .grow").animate({height: height, width: width}, 2000, resize); + } + + function background() { + color = Math.floor((Math.random() * 7) + 1); + switch (color) { + case 1: colorString = "black"; break; + case 2: colorString = "white"; break; + case 3: colorString = "red"; break; + case 4: colorString = "yellow"; break; + case 5: colorString = "purple"; break; + case 6: colorString = "blue"; break; + case 7: colorString = "Orange"; break; + } + $("body").css({"background-color": colorString}); + setTimeout(function(){ + background(); + }, 100); + } + + function img() { + $("body").append("<div id='lol' style='position: fixed'><img src='http://25.media.tumblr.com/tumblr_mc351hVQPQ1qf021po1_500.gif'></div>"); + } + + function textLOL() { + text = Math.floor((Math.random() * 7) + 1); + switch (text) { + case 1: string = "OMMMMMMMMMMMMMMMMGGGGGGGG !!!111"; break; + case 2: string = "#3fab5u"; break; + case 3: string = "360noscopeMLG"; break; + case 4: string = "SUCH WOW"; break; + case 5: string = "HEAAAAADSHOT"; break; + case 6: string = "TAKE THAT BITCH"; break; + case 7: string = "ILLUMINAAAATI"; break; + } + $(".text").html(string); + setTimeout(function(){ + textLOL(); + }, 2000); + } + + function colorLOL() { + var newColor = '#'+(0x1000000+(Math.random())*0xffffff).toString(16).substr(1,6); + $(".text").animate({color: newColor}, 200, colorLOL); + } + + function ittanimulli() { + $("body").append("<div class='evrywhere grow' style='position: fixed; right: 10%; top: 15%;'><img src='http://img3.wikia.nocookie.net/__cb20140811072057/rwbyfanon/images/7/78/Illuminati-Logo.png'></div>"); + } + + function sunglasses() { + $("body").append("<div class='dealwithit' style='position: fixed; top: 0; display: none;'><img style='width: 400px; height: auto' src='http://i.imgur.com/nGjvR.png'></div>"); + $("body .dealwithit").show(2000).delay(2000).hide(500); + setTimeout(function(){ + sunglasses(); + }, 10000); + } + + function makeitrain() { + classsss = Math.floor((Math.random() * 5000) + 1); + img = (Math.floor((Math.random() * 7000000) + 1) * classsss) % 7; + switch (text) { + case 1: string = "http://i625.photobucket.com/albums/tt332/cella3000/doritos.png"; break; + case 2: string = "http://img1.wikia.nocookie.net/__cb20120223231746/mountaindew/images/2/20/CANDIDEW.png"; break; + case 3: string = "http://cod.esportspedia.com/w/images/archive/0/0b/20140612045242!MLG.png"; break; + case 4: string = "http://kepki.prostoprint.com/static/products/full-d9850b896a6e4f7a2f0fab9a8a7f7b7e.png"; break; + case 5: string = "http://img3.wikia.nocookie.net/__cb20140324033150/trollpasta/images/8/84/Sweg_Feg.png"; break; + case 6: string = "http://img1.wikia.nocookie.net/__cb20140808001953/dogkids-wiki-of-wonder/images/0/05/Doge.png"; break; + case 7: string = "http://www.logotypes101.com/logos/66/FB3D0EB4B77EB6998208EDD1814717E8/McDonalds.png"; break; + } + classsss = Math.floor((Math.random() * 5000) + 1); + position = Math.floor((Math.random() * 100) + 1); + $("body").append("<div class='lulz"+classsss+"' style='position: fixed; top: 0;left:"+position+"%'><img src='"+string+"'></div>"); + $("body .lulz"+classsss).animate({bottom: "-100%", top: "100%"}, 1000); + setTimeout(function() { + makeitrain(); + }, 1000); + } + + $(document).ready(function() { + var audioElement = document.createElement('audio'); + audioElement.setAttribute('src', 'audio.mp3'); + audioElement.setAttribute('autoplay', 'autoplay'); + audioElement.load() + audioElement.addEventListener("load", function() { + audioElement.play(); + }, true); + resize(); + rotateLOL(); + background(); + img(); + textLOL(); + colorLOL(); + ittanimulli(); + sunglasses(); + makeitrain(); + }); + </script> + </head> + <body style='text-align: center'> + <div class='text' style='text-align: center; position: fixed; width: 100%; top: 40%; z-index: 9999; font-size: 4em; font-weight: bold'></div> + <img class="main" src="http://apprendre-la-photo.fr/wp-content/uploads/2011/12/sharbatgulajf4.jpg"> + </body> +</html>