Saturday, January 14, 2012

Disable Right Click in Blogger



Many sites have a special kind of specialty that they can protect their content from copy paste which always done by the right click of mouse and site admins can easily protect their content and pictures from others. Now you can also use this feature in blogger and blog owners and admins also can save their data from others. 




Disable Right Click in Blogger

  • Login Blogger > Dashboard
  • Go to Design > Edit HTML
  • Search </body>
  • Paste below code before </body>
/*--- fblatest.in Disable Right Click ---*/

<script language=javascript>
<!--
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>

/*--- fblatest.in Disable Right Click ---*/

  • Save your template




Now Your Data will be Protected




Thanks for Visit Here Like Us on Facebook.
If Any Problem, Ask in Comments Follow US on Twitter.

help us to grow

Post a Comment