Search
 
 

Display results as :
 


Rechercher Advanced Search

CBC Encryption

Wed Mar 25, 2015 6:41 pm by ORLP2

For those who don't know me, I am ORLP (lowercase or upper-case will do, I honestly aren't fussed). I am a Computer Science and cryptography enthusiast. I am looking to broaden my horizon within the "computer security" scene, even if that means joining a newly-crafted forum to get my name across and meet other people who have similar interests as me.

I would like to start by saying I'm …

Comments: 0

Operating System Poll

Tue Mar 17, 2015 7:34 pm by Orianthi

So what operating systems do y'all use?

I use: Windows(7), Linux(Debian, Ubuntu, Mint, Arch Linux, Bieban, Fedora), OS X(Yosemite, Maveriks)

Comments: 0

Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 8 on Mon Mar 16, 2015 1:05 am

Javascript: A fun little script.

View previous topic View next topic Go down

Javascript: A fun little script.

Post  Shadow19 on Wed Mar 18, 2015 6:32 pm

Hello everyone, this is my first post of a series of coding snippets ill make every once in a while, just for fun. You can beautify the script if you're wary, what it does is a surprise! enjoy =].

All you gotta do to have it run, is either put it into a userscript, or execute it from a console.

Code:
Code:
function fun(){if(aZ=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],document.getElementById("animator")){var t=document.getElementById("animator");t.parentNode.removeChild(t)}f=document.createElement("style"),f.setAttribute("id","animator");for(var e=0;e<aZ.length-1;e++)h=Math.floor(Math.random()*(window.screen.width/Math.floor(8*Math.random())-1)),k=Math.floor(Math.random()*(window.screen.height/Math.floor(8*Math.random())-1)),g="@keyframes ${from{left:"+a[0]+"px; top:"+a[1]+"px}to{left:"+h+"px; top:"+k+"px}} @-webkit-keyframes ${from{left:"+a[0]+"px; top:"+a[1]+"px}to{left:"+h+"px; top:"+k+"px}}",a[0]=h,a[1]=k,f.innerHTML+=g.replace(/[\$]/g,aZ[e]);document.head.appendChild(f);for(var n=0;n<document.getElementsByTagName("*").length-1;n++){var o=document.getElementsByTagName("*")[n];-1==v.indexOf(o.tagName)&&(o.style.webkitAnimationName=aZ[Math.floor(Math.random()*(aZ.length-1))],o.style.webkitAnimationDuration=Math.floor(8*Math.random())+"s",o.style.webkitAnimationIterationCount="Infinite",o.style.animationName=aZ[Math.floor(Math.random()*(aZ.length-1))],o.style.animationDuration=Math.floor(8*Math.random())+"s",o.style.animationIterationCount="Infinite",o.style.display="run-in")}}var a=[0,0],v=["SCRIPT","HEAD","BODY","HTML","TITLE","META"];setTimeout(function(){setInterval(fun,2e3)},1500);
avatar
Shadow19
Moderator
Moderator

Posts : 4
Join date : 2015-03-16

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum