By Disabling Right Click on your blog you can protect your text, photos, links etc. So here is the Trick to disable right click on your blog.
- Sign in to your blogger account
- Go to layout and now click add gadget then choose html/javascript
- Now copy the code below into the html/javascript box.
<script language="JavaScript"><!--
//Disable right mouse click Script //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive //For full source code, visit http://www.dynamicdrive.com
var message="Right Click Disabled!";
/////////////////////////////////// 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>
I hope you enjoyed...!!!! Best of luck.....!!!!!!!!!

|
0 comments:
Post a Comment