Breaking News

Disable Right Click On Your Blog To Prevent Copy/Paste


Bloggers always wanted to prevent users or other bloggers from copying the content from their blog or website. Few Bloggers do lots of efforts by researching and writing great articles for their blog, whereas some just copy and paste article and tutorials on their blog from others. So to prevent such bloggers from copying the content from your blog i will teach you to disable right click on your blog with just simple JavaScript. So lets get started.




How to disable right click on blog or website ?


   1. Go to your blogger Dashboard and click on Layout.
   2. Then click on Add Gadget.
   3. Choose Html/Javascript From Popup Window
   4. Now Copy and Paste below code into it.

<!--QB Code -->
<!--queenslodge.blogspot.com-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
 
   5. Now save it and you are done disabling right click on your blog.

Got any problem ?


If you have any problem disabling right click on your blog or have any other question or suggestion then leave a comment below. I will be glad to help you. Don't Forget to subscribe, +1 on Google+ and like us on Facebook.

Share this to your friends.
Disable Right Click On Your Blog To Prevent Copy/Paste Disable Right Click On Your Blog To Prevent Copy/Paste Reviewed by Queency on 08:06:00 Rating: 5