no right click
Page 1 of 1
no right click
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:
2. No Right Click Without Alert
code:
3. No Right Click with Alert Box
Code:
code:
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
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum