Thursday, December 22, 2011

How to Disable Right Click on Your Blog

To prevent the contents of blog from  the other peoples that have bad actions like copied post or images, many bloggers deliberately to disable right click on their blog. Well, today I will share a blogger tutorial about how to disable right click on your blog.

Ok. To disable right click on your blog please follow the instruction bellow:
  • Login to your blogger account.
  • Go to Template menu, and then click Edit HTML, and click Proceed.
  • Check Expand Widget Template.
  • Find the <head> code. To make easy it, click Ctrl+F if you using Mozilla Firefox browser, and F3 if using Internet Explorer or Google Chrome browser.
  • Paste the JavaScript code just below the <head> code. This is the JavaScript code to use.
<script language=JavaScript>
<!--
 
//Matikan Klik Kanan 
 
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
 
document.oncontextmenu=new Function("return false")
// -->
</script>
 

  • Save it.
Well, it's a blogger tutorial about How to Disable Right Click on Your Blog. You may also like this:

  1. What is SEO ?
  2. Submit Blog to Bing | Search Engine Optimization
  3. Submit Blog to Search Engines
  4. How to Make a Blog
  5. White Hat vs Black Hat SEO
  6. Introduction to SEO
  7. Free Backlinks
  8. Meta Tags on Blog
Thanks for visiting.

0 comments:

Post a Comment