Saturday, July 24, 2010

Disable right klik in your blog??

0 comments
My last post I will talk about ways to avoid the copy content of your blog by others, most of which will have info from your blog but lazy to type again what you have right to post the credit to your blog's name is no problem because you also get the name but there is some or a few, they take the easy way to find your way to highlight content in your post and right click, then they will select view page source, as this facilitates the copied content.

The first step as usual you MUST:

login dashboard =>design=>page elements=>add gadget=>html/javascript
after you copy the code below and paste the html / javascript above.

<script language=javascript>
<!--

var message="write your message HERE";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(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("alert(message);return false")

// -->
</script>

In part, write your message HERE depends on what you'd spoken to who tried to right click on your blog. When one right-click it will produce a popup message. HAPPY TRYING!..

0 comments:

Post a Comment

please leave a comment here ..

Related Posts with Thumbnails