DISABLE RIGHT CLICK OPTION WITHOUT USING JAVASCRIPT


Disabling right click on websites and blogs are very popular nowadays just to ensure that no one can copy content from their website.
Using JavaScripts provided by many websites on blog or website to protect content from being copied is very popular. JavaScripts can be of different types depending on it's author, they can put whatever they want and block right click on webpages.


But JavaScripts have it's own bad effect on blogs, because most the JavaScripts provided to disable right click on webpages sends out an alert message whenever someone right clicks and that is frustration. And JavaScripts can be easily by passed easily and allow right click.
So what you want is a hassle free way to stop peoples right clicking on your page and copy your contents.

One benefit of having right click disabled is that you can stop much people from copying your contents, but there can be some people knowing ways to by pass it, but hope you don't have such visitors who will copy your content.

Almost everywhere you will see tricks to disable right click using JavaScript, but if the user disables JavaScript they can easily use right click on your website without any difficulties. JavaScript is not an ideal way to do it.
We have got a new way to disable right click without any implementation of JavaScripts that can slow down your page.


It was a small attribute in the body tag of the document. So follow the steps to do it on Blogger, this can implemented on any website, just find your main HTML and add this attribute in the <body> tag.

For Blogger Users -

  • Go to Blogger Dashboard
  • Select Template tab
  • Click on Edit HTML > Proceed Now click CTRL+F and find enter this <body into the search box, you will find something similar to this.


The <body> tag is just below the ending </head> tag. Now when you find it, copy this small code snippet or a short code word.
oncontextmenu="return false;"
When copied, go back to the Edit HTML of your Blog and paste this after <body with a space in between. So it must look something like this.

Once you have added the attribute in the body tag refresh your blog with CTRL+F5 and try to right click, now you have right click disabled on your blog/website ! Wawwy, people can't copy your content.

Kindly Bookmark this Post using your favorite Bookmarking service:
Technorati Digg This Stumble Stumble Facebook Twitter

0 comments:

Click Here To add Comment

PAGE RANK

Page Rank
 

| USEFUL TRICKS- InVaDeR © 2012. All Rights Reserved | Template Style by Abhidinvader