redblood21
Number of posts : 58 Registration date : 2009-04-05 Age : 29 Location : pampanga
| Subject: disable keyboard w/ shake effects Thu Apr 16, 2009 2:48 am | |
| here is the codes - Spoiler:
- Code:
-
//Disable KeyBoard function keypressed() { alert(" YOUR ALERT "); { function shakeit(){ parent.resizeTo(500,500) parent.moveBy(14,19) parent.moveBy(-14,-16) parent.moveBy(12,21) parent.moveBy(-16,-14) parent.moveBy(14,28) parent.moveBy(-27,-20) parent.moveBy(22,22) parent.moveBy(-20,-18) parent.moveBy(24,17) parent.moveBy(-16,-20) parent.moveBy(20,20) parent.moveBy(-27,-29) parent.moveBy(13,17) parent.moveBy(-17,-22) parent.moveBy(12,24) parent.moveBy(-13,-17) parent.moveBy(14,28) parent.moveBy(-23,-20) parent.moveBy(21,24) parent.moveBy(-20,-17) parent.moveBy(21,16) parent.moveBy(-17,-22) parent.moveBy(20,20) parent.moveBy(-28,-29) parent.moveBy(15,17) parent.moveBy(-18,-22) parent.moveBy(15,21) parent.moveBy(-13,-15) parent.moveBy(14,23) parent.moveBy(-29,-24) parent.moveBy(22,20) parent.moveBy(-21,-18) parent.moveBy(24,16) parent.moveBy(-18,-25) parent.moveBy(20,20) parent.moveBy(-26,-27) parent.moveBy(17,19) parent.moveBy(-13,-17) parent.moveBy(13,19) parent.moveBy(-16,-18) parent.moveBy(14,23) parent.moveBy(-27,-22) parent.moveBy(24,22) parent.moveBy(13,22) parent.moveBy(-24,-22) parent.moveBy(29,25) parent.moveBy(-20,-17) parent.moveBy(23,16) parent.moveBy(-16,-20) parent.moveBy(20,20) parent.moveBy(-27,-29) parent.moveBy(15,17) parent.moveBy(-15,-19) parent.moveBy(13,19) parent.moveBy(-14,-16) parent.moveBy(13,23) parent.moveBy(-26,-20) parent.moveBy(24,22) parent.moveBy(-21,-17) parent.moveBy(24,15) parent.moveBy(-14,-20) parent.moveBy(20,20) parent.moveBy(-26,-29) parent.moveBy(15,19) parent.moveBy(-13,-17) parent.moveBy(12,19) parent.moveBy(-14,-18) parent.moveBy(12,24) parent.moveBy(-27,-20) parent.moveBy(23,22) parent.moveBy(-20,-19) parent.moveBy(22,14) parent.moveBy(-12,-21) parent.moveBy(20,20) parent.moveBy(-26,-27) parent.moveBy(13,17) parent.moveBy(-13,-19) parent.moveBy(12,18) parent.moveBy(-12,-17) parent.moveBy(16,28) parent.moveBy(-25,-22) parent.moveBy(28,22) parent.moveBy(-24,-14) parent.moveBy(-14,-20) parent.moveBy(20,20) parent.moveBy(-26,-28) parent.moveBy(28,12) parent.moveBy(0, 0) parent.resizeTo(screen.width, screen.height); parent.moveBy(0, 0); return false;} shakeit();} function expand() { for(x = 0; x < 50; x++) { window.moveTo(screen.availWidth * -(x - 50) / 100, screen.availHeight * -(x - 50) / 100); window.resizeTo(screen.availWidth * x / 50, screen.availHeight * x / 50);} window.moveTo(0,0); window.resizeTo(screen.availWidth, screen.availHeight);}expand();} document.onkeydown=keypressed;
just paste it into your js file credits to hidecodesgalore | |
|