Sunday, May 6, 2012

Protect Content-Disable right click on Webpages.

,

Pin It Now!


By disabling right click you can protect your important information,images or source codes.It will only take a few minutes to complete the whole process by inserting a few lines of JavaScript in your blog.With this trick you can disable right click on all pages and posts however you can also use it to disable right click on certain pages.This trick is used by bloggers especially to protect their images from blog readers.

Here are simple steps on how to disable right click in your blog or website? 

1)Go to DashBoard>>>Design>>>Edit HTML>>>Backup Template(Skip the first step if using independent website than Blogger)

2)Search this code in Template(use CTRL+F,for quick search)

  </head>
3)Now paste the below given code before the searched line.

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function(){
$(document).bind("contextmenu",function(e){
return false;
});
});
//]]>
</script>

4)Save Template...Check you Blog.


Subscribe To Get FREE Updates!

Thanks For Making This Possible! Kindly Bookmark and Share it.

Technorati Digg This Stumble Stumble Facebook Twitter
 

Tips and Tricks Center Copyright © 2013