Wednesday, June 15, 2011

copy right

Q: how can I block another blog from stealing my content?
A: Post the following codes as an html/Javascript, gadget on your blog:
<script language="javascript" type="text/javascript">
<!--
  function right(e) {
    if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
      alert("Copyright Content");
      return false;
    }
    else if (event.button == 2 || event.button == 3) {
      alert("Copyright Content");
      return false;
    }
    return true;
  }

  if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown = right;
  }
  else if (document.all && !document.getElementById){
    document.onmousedown = right;
  }

  document.oncontextmenu = new Function("alert('All Rights Reserved.');return false");

// -->
</script>

There is another school of thought:
http://blogs.sitepoint.com/dont-disable-right-click/

source: http://www.google.com/support/forum/p/blogger/thread?tid=2e739de6cf52fa87&hl=en&fid=2e739de6cf52fa870004a5b5b093a2bb

No comments:

Post a Comment

Thank you very much for your visit and your comment.

Check your Page Rank

Check Page Rank of your Web site pages instantly:

This page rank checking tool is powered by Page Rank Checker service

Followers

Learn more from these blogs:-