Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

Mar 28, 2013

How to Disable Right Mouse Click in Blogger / Blogspot?

on 3/28/2013 in
SOCIALIZE IT →

How to Disable Right Mouse Click in Blogger / Blogspot
Have you noticed, Some websites don't allow right mouse click while visiting the website. Right Click is come in use when we are going to copy or edit text from webpages. This function is also most commonly used by Webmasters during Web Development. This function can also be used in blogger. By using this function, you may protect your copyright contents from being used on another blog or website. But this is not the solution. Most of the people come on your website or blog to read information and very small number of people to steal your contents. So, According to some people, this is unprofessional and insulting of visitors. If you want to disable right click on your blog, use this simple javascript code method.

Code:

<SCRIPT language=JavaScript>
<!-- http://www.spacegun.co.uk -->
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>

 Where to Paste this Javascript in Blogger

  • Sign in to Blogger 
  • Goto Layout > Add a Gadget > HTML/JavaScript
  • Paste code in the field and Save.

How it Works

When a visitor right click on your blog, a pop up box will be shown saying Function Disabled. If you want to use their custom text replace Function Disable with your text in the code.


My Profile PhotoAuthor:

Zaka Ur Rahman

For Further Reading,

Tutorials

0 comments:

Post a Comment

We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually us according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden.

Regards:
Zaka Ur Rahman

 

About eHowBlogger

eHowBlogger is a free Blogger Web Development Resource Website founded in 2013 by Zaka Ur Rahman. The basic purpose is to share high quality tips and tutorials relating to web development, SEO and make money online.High Quality Blogger Templates project is coming soon for providing free professional blogger templates.
Template Developed By:iTechRelease