You might have heard of blogs that are being copied by other people without permission. Now in order to protect your blogs from these people, bloggers use different approach such as disallowing right clicks and copy-paste from their blogs. Though these approach are not 100% copy-proof, it is far more better than leaving your blog without any protection.
So for today, I'll introduce another trick that might be useful for blogger (blogspot) users. This trick disables selecting of text. The stealers copy your blog posts and takes many benefits from it. This trick block the selecting text from your blog so that no one can copy anything anything from your blog.
How to Protect Blogger Blog:
1.Log in to your dashboard--> layout- ->Page Elements
2.Click on 'Add a Gadget' on the sidebar.
3.Select 'HTML/Javascript' and add the code given below and click save.
<script type="text/javascript"> /*********************************************** * Disable select-text script- © My Blogger News (www.mybloggernews.com) * This notice MUST stay intact for legal use * Visit http://www.mybloggernews.com/ for full source code ***********************************************/ //form tags to omit in NS6+: 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> |
Now you are done.
Peace and Happy Protecting.
1 comments:
Thanks, this worked greate on my site.
Confused? Feel free to ask