Saturday, January 31, 2015
How to Disable Text Selection in Blogger
Using given java script code you can protect your content from direct copying. So that you can disable copy paste function by mouse directly on your page. When a blog gets the popularity,new bloggers or some other content thieves starts copying their content.
They generally copy images, text from our blog and paste it on their own blog to get traffic and sometime they can give tough competition to us. You can be safe from this just by adding java script code on your template.
To disable Text selection in blogger,simply follow the below given steps:
>> Log into your blogger Account.
>> Click on “Layout” option. If you have any problem then check the below given figure:
If you have another code for disabling text selection..Do share in comments..!!!
They generally copy images, text from our blog and paste it on their own blog to get traffic and sometime they can give tough competition to us. You can be safe from this just by adding java script code on your template.
To disable Text selection in blogger,simply follow the below given steps:
>> Log into your blogger Account.
>> Click on “Layout” option. If you have any problem then check the below given figure:
>> After that click on “Add a Gadget” option
>> Select HTML/JavaScript option .The screenshot of the same is shown below.
>> Now paste the code given below on the body part.
<script type="text/javascript">//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=disableselectdocument.onmouseup=reEnable}</script>>> Click on Save Button and enjoy.
If you have another code for disabling text selection..Do share in comments..!!!
About the Author
Ramesh Ojha is the founder and Admin of Make My Tricks. He is a Techgeek and upcoming blogger,interested in computers,Blogging and sharing knowledge.
Contact me Facebook
Make My Tricks
Contact me Facebook
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment