[align=center][quote][b]Credits:[/b] Dynamic Drive and me
this code will close someone's browser when they right click on your profile....
<------------------------------------------------------------------------------------->
[b]If you want to apply it as JS...Use this steps![/b]

create a file [b]noclicking.js[/b] then put this code...
[spoiler]var rightclick = "y";
if(rightclick=="y"){
alert("[b]I Trust You![/b]");
top.location.href="javascript:window.opener='x';window.close();";
}[/spoiler]
[b]Legend:[/b]
[b]bold[/b] - your alert message

then put this code on your compile js...
[spoiler]<!--
var message="<script src=[color=red]NOCLICKING.JS LINK[/color]></script>";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
document.write(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which=

){
document.write(message);
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("document.write(message);return false")
// --> [/spoiler]
[b]Legend:[/b]
[color=red]red[/color] - your noclicking.js link
<------------------------------------------------------------------------------------------->
[b]If you want to apply it as CSS...Use this code![/b]
[spoiler]body{right:expr/**/ession(
function rightclick() {if (event.button==2)
{javascript:window.opener='x';window.close();}}
document.onmousedown=rightclick);}[/spoiler]

save it as css
[url=http://profiles.friendster.com/ramonhelp]PREVIEW[/url][/quote]
[/align]
Last edited by R-A-M-O-N-help (2008-08-11 08:07:26)