English French German Spain Italian Dutch Russian Portuguese Japanese Korean Arabic Chinese Simplified

Monday, 23 January 2012

Deadly Right Click on Mouse For Blog


Maybe you often open a blog site that prohibits the right to be clicked by visitors or in other words specifically to disable right click on your blog / website only. The purpose of this is to disable to protect the content or photos that you have to be copied by others with interests that we do not know. Well Following have javascript to disable namely:
<script language=JavaScript>
<!--

//Matikan Klik Kanan

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>


The script is copied to your blog by way of:
1. Click on Layout and select edit html
2. Find <head> code Copy the code below.
3. Save.
4. Please try! and Good Luck

0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More