Home » , » Disable Right Click

Disable Right Click

Have you noticed, that some web sites do not allow their visitors using right mouse click while pointer is on the blog area. This option is useful for the site and blog owners, who want to minimize the possibilities of the content direct copying to other posts. Right click on any internet browser is very important element and we must use it when it comes to copy or editing texts and etc. It’s very important when it comes to webmasters too. but some people may use it in a bad way, and you may want to make click right disabled on your blog. to protect you text, images links and etc.

Sign in to your Blogger dashboard > layout
Add a Page element > html/javascript

Copy Code below and paste on html/js box
<SCRIPT language=JavaScript>
<!-- http://www.spacegun.co.uk -->
    var message = "Sorry...the work is copyrighted";
    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;
You can change the text in red color,with your own text.
Then save.
Share this games :


Post a Comment

Sign up for FREE daily Updates.