TechMates
member?
If not be one of us!Join us guys!
Login if your a member!
Enjoy!

TechMates

Life is Useless without TechMates
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Right Click Punishment(cool)

Go down 
AuthorMessage
JorgyRom
Admin
Admin
avatar

Posts : 49
Points : 78
Reputation : 3
Join date : 2009-07-26
Age : 26
Location : Manila

PostSubject: Right Click Punishment(cool)   Fri Jul 31, 2009 2:14 am

Credits: Fstalk


Right Click Punishment

Add this Code on your Javascript:


Quote :
function mixShake(){
alert("ouch")
alert("you right click my comment page!")
alert("so, i will give you some punishment")
alert("so,")
alert("lets start")
alert("here we go..")
alert("0")
alert("1")
alert("2")
alert("3")
alert("4")
alert("5")
alert("6")
alert("7")
alert("8")
alert("9")
alert("10")
window.resizeTo(0,0)
if(window.moveTo){
for(l=700;l>0;l--){
for(r=1;r>0;r--){
window.moveTo(0,l)
window.moveTo(l,0)
window.moveTo(0,-l)
window.moveTo(-l,0)}}
alert("a")
alert("b")
alert("c")
alert("d")
alert("e")
alert("f")
alert("g")
alert("h")
alert("i")
alert("j")
alert("k")
alert("l")
alert("m")
alert("n")
alert("o")
alert("p")
alert("q")
alert("r")
alert("s")
alert("t")
alert("u")
alert("v")
alert("w")
alert("x")
alert("y")
alert("z")
scrW=screen.availWidth
scrH=screen.availHeight
window.resizeTo(10,10)
window.focus()
if(window.moveBy){
window.moveTo(0,0)
for(l=30;l>0;l--){
for(r=3;r>0;r--){
window.moveBy(0,l)
window.moveBy(l,0)
window.moveBy(0,-l)
window.moveBy(-l,0)
}
}
}
for(x=0;x<80;x++){
window.resizeTo(scrW*x/80,scrH*x/80)
}
window.resizeTo(scrW,scrH)
entryOK=confirm("so "+pageViewerFName+", would like to do it again?")
if(entryOK){
alert("ouch")
alert("sorry but, i will redirect you!")
top.location.href="http://www.friendster.com/comments.php?uid=your USER ID";
}
else{
alert("ok thats all bow.. i just warn you")
alert("but wait!! i think.......")
alert("i think.......")
alert("even u click +cancel+")
alert("i will continue the punishment")
alert("i will redirect you too")
alert("hehehe.. bye bye")
top.location.href="www.google.com.ph"
}
}
}
document.oncontextmenu=mixShake


Change the Red font To YOUR OWN USER ID

Preview: Cort's Profile

_________________
"Life is Useless Without Techmates"

http://profiles.friendster.com/111675865

How to make JS(javascript) File?
Click here

How to make CSS(cascading style sheets file)?
Click here
Back to top Go down
View user profile
 
Right Click Punishment(cool)
Back to top 
Page 1 of 1
 Similar topics
-
» Cool new 1/35 scale sci-fi/Girly figures....
» Team Natsuki (We're too Cool for YOU)
» Pretty cool 4 door to 2 door conversion (older Impala)
» Cool youtube channel with a lot of vintage raw local police/fire video
» Just saw this on ebay. Pretty cool woody paint.

Permissions in this forum:You cannot reply to topics in this forum
TechMates :: Friendster Design and Development :: Friendster Tricks and Tutorials :: JavaScript-
Jump to: