Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function lolcat(){
- var colors = randomColor();
- var css = "*:not(.framp){ background-color: " + colors[0] + " !important; color: " + colors[1] + " !important; }";
- var style = document.createElement('style');
- style.appendChild(document.createTextNode(css));
- document.head.appendChild(style);
- setTimeout(lolcat, 16);
- })();
- function randomColor(){
- var colors = [Math.random()*255<<0, Math.random()*255<<0, Math.random()*255 <<0];
- var colorsInverted = colors.map(function(item){
- return 255-item;
- });
- return ['rgb(' + colors.join(',') + ')', 'rgb(' + colorsInverted.join(',') + ')'];
- }
- (function iliketomoveit(){
- jQuery('.frontpage-icons img').each(function(){
- jQuery(this).css({position:" relative"});
- jQuery(this).animate({top: Math.random()*100-50}, 50);
- })
- setTimeout(iliketomoveit, 50);
- })();
- (function fumate(){
- if (Math.random()>0.5){
- var merda = jQuery('<div class="framp" style="position:fixed; top:0; left:0; width:100%; height:100%; background-color:#000; color: #fff; z-index:1000000; font-family:Arial; font-size:3000%; padding-top:500px; text-align:center">FUMATE</div>').appendTo(jQuery(document.body));
- setTimeout(function(){
- merda.remove();
- }, 100)
- }
- setTimeout(fumate, 1000)
- })()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement