Home » , » How to Disable right click on Blogger/Blogspot

How to Disable right click on Blogger/Blogspot



If you have quality content on your webpage and want to prevent people stealing your resources, you can add this script to disable the right-mouse click. This does not assure complete safety for your resources (there is always a way to copy them), but it is better than nothing.



                                  Disable right click. Prevent copy function 

Sign in to your Blogger Dashboard -> Click on the Layout -> Add a Page Element -> Html/Javascript -> Paste the code below and Save the changes.

                                 Copy the html code below:


<SCRIPT language=JavaScript> var message = "function disabled"; function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; } if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } } document.onmousedown = rtclickcheck; </SCRIPT>

1 comments:

  1. Thank you so much for updating it! I really really really appreciate it, I've been wanting to do this for a while, but I didn't know how! Thanks again!!
    website design

    ReplyDelete

By Bloggerloads
By Bloggerloads
By Bloggerloads

You can also receive Free Email Updates:

By Bloggerloads
 
Copyright © 2013. Bloggerloads - All Rights Reserved