-Right-Click With Random Alerts
-This works upon clicking the right mouse button..
Tested on: IE7, Fx2
Paste in js. external
credits to: frienstertalk
-This works upon clicking the right mouse button..
Tested on: IE7, Fx2
Paste in js. external
- Code:
function randContext(){
rand=Math.round(Math.random()*4)
myAlert=new Array()
myAlert[0]="MESSAGE 1"
myAlert[1]="MESSAGE 2"
myAlert[2]="MESSAGE 3"
myAlert[3]="MESSAGE 4"
myAlert[4]="MESSAGE 5"
alert(myAlert[rand])
return false
}
document.oncontextmenu=randContext;
credits to: frienstertalk