});
Featured Post: Increase YouTube Buffer Speed! | Subscribe to us for more!
<script> var adfly_id = 1058506; var adfly_advert = 'banner'; var frequency_cap = 5; var frequency_delay = 5; var init_delay = 3; </script> <script src="http://adf.ly/js/entry.js"></script>

Friday 16 March 2012

Protect your copyrighted work by disabling the copy function



I am sure that a lot of you are bloggers and would like to protect your copyrighted work without letting other people to copy your work by disabling right click and highlighting. Here is a solution. (This is for blogspot)
  1. Go to Layouts
  2. Click add a new gadget
  3. Select Html/Javascript (In this case we are using a Javascript)
  4. When the blank layout appears, add the following code snippet into it and leave the title blank:
<script type="text/javascript">
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>

Should work if you followed the steps correctly.

For hand coded websites using dreamweaver:
Try implementing this on your blog! If you own a website and not a blog, just copy this Javascript above the </body> tag

For WordPress,
Try installing this plugin called Wp-Copyright Pro!. This will allow deselection of text, prevents right click, protect from iframes and drag and drop photos. At the same time, this has no problem with search engines at all! So give it a try! 
Link here

Like this post? Share them with your friends or subscribe to us and follow on Google. Comment your thoughts here.
Do you Like this Post..?

Get Free Email Updates Daily!

Follow us!

 
Related Posts Plugin for WordPress, Blogger...

Most wanted post: How to use premium cookies Subscribe to our feed if you would like to receive updates from us!--------------------------------->

X
~