Subscribe For Free Updates!

We'll not spam mate! We promise.

How To Disable Hightlight Function: Protect Your Blog Content From Copy and Paste

Constructing a good blog post takes time, takes dedication and reasoning. Imagine, after
composing a good post & a total stranger comes to hijack (copy & paste your work) into his site without acknowledging your efforts. Sometimes, i can help but feel bad...
Ok, friends.. you can use this tip i am about to show you to guide your post.



The major trick you can use to protect your content from copy and paste bloggers is to disable highlight function.


               How To Disable Highlight Function:

Go to your dashboard
Click Template > Edit HTML > Proceed
Use ctrl F to find </head>  and paste the following code above  </head>

<script type='text/javascript'>
 if (typeof document.onselectstart!=&quot;undefined&quot;) {
 document.onselectstart=new Function (&quot;return false&quot;);
}
 else{
 document.onmousedown=new Function (&quot;return false&quot;);
 document.onmouseup=new Function (&quot;return true&quot;);
}
</script>

Now save your template.

                                Alternative:

You can also add it, using this second option.
Go to Layout > Add a Gadget > HTML/JavaScript
Paste the following code in the content box leaving the title box empty.

<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function (&quot;return false&quot;)
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>

Click on the Save button and you are done.
Now your blog content is now safe from copy and paste bloggers.
.



0 comments:

Best Blogger TipsComment here

CONFUSED ? FEEL FREE TO ASK

 We only entertain real and valuable comments. This means that you need to write comments with your REAL NAME. Comments with keywords or unrelated texts won't be approved. Also, instead of posting comments such as "nice/excellent articles", we would really appreciate if you could like it and share it with your friends/readers. Please, read our
comment policy