:: Hot Society ::
no right click 259weuo

Hey Guest ! Welcome to Hot Society ! Login or Register if your not yet a member :)


Join the forum, it's quick and easy

:: Hot Society ::
no right click 259weuo

Hey Guest ! Welcome to Hot Society ! Login or Register if your not yet a member :)
:: Hot Society ::
Would you like to react to this message? Create an account in a few clicks or log in to continue.

no right click

Go down

no right click Empty no right click

Post by xhamhy Mon Jun 01, 2009 12:31 am

INSTRUCTIONS:

1. In a NotePad, save this code as norightclick.js

2. Upload it to any web hosting site and get the direct url of your norightclick.js

3. Generate your js url using Javascript Direct URL Generator

4. Copy and paste the generated url and paste it on your About Me section.

Choose one that suits you:


1. No Right Click Shake

code:

Code:
document.write('body oncontextmenu="return false"');
http://FriendsterMagic.net
function shake() {
if (event.button==2) {
var x=10
if (document.all||document.layers) {
for (i=0;i,i<20;i++){
window.moveBy(0,x)
window.moveBy(x,0)
window.moveBy(0,-x)
window.moveBy(-x,0)
}
}
}
}
document.onmousedown=shake;



2. No Right Click Without Alert

code:
Code:
//FriendsterMagic.net
function nrcIE(){
if (document.all){return false;}}
function nrcNS(e){
if(document.layers||(document.getElementById&&!document.all)){
if (e.which==2||e.which==3){
return false;}}}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=nrcNS;
}else{document.onmouseup=nrcNS;document.oncontextmenu=nrcIE;}
document.oncontextmenu=new Function("return false");



3. No Right Click with Alert Box
Code:

Code:
//FriendsterMagic.net
message = "bawal yan";

function NoRightClick() {
if(((navigator.appName=="Microsoft Internet Explorer")&&(event.button > 1))
||((navigator.appName=="Netscape")&&(b.which > 1))){
alert(message);
return false;
}
}
document.onmousedown = NoRightClick;
// -->


code:
Code:
<script=src='url of the no right click.js'></script>

xhamhy
Guest

Posts : 6
Reputation : 0
Join date : 2009-05-31
Place : at the graveyard

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum