[quote=oblack]gw minta script no right klik doong... punya gw pada gak bisa niy
[/quote]
nih tutorialnya :
1.edit di dlm notepad ,save code dg nama norightclick.js
2.upload di hostingan km.......!!
3.generate linker js yg km save tadi.....
4.trus copi paste linker yg udah km generate tadi ..
paste di About Me section.
[b]1. No Right Click Shake[/b]
[quote]document.write('body oncontextmenu="return false"');
//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;[/quote]
[b]2. No Right Click Without Alert[/b]
[quote]//Friendstertalk.com
function nrcIE(){
if (document.all){return false;}}
function nrcNS(e){
if(document.layers||(document.getElementById&&!document.all)){
if (e.which==2||e.which=
){
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");[/quote]
[b]3. No Right Click with Alert Box
[/b]
[quote]//Friendstertalk.com
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;[/quote]
Last edited by kuntilanak (2008-10-19 02:51:40)