2011年8月31日

How to protect your posts?


Protecting your posts is what every body wants. See below for the tutorial and disable highlighting in your blog! Never do it for html code tutorial blogs because people cannot highlight and copy html code in your blog!

Demo

Step 1. Go to Blogger and than go to Design and than click "Add New Widget" it will pop up a little screen, at the blank box insert the code below

<script type="text/javascript">
/************************************************ Disable select-text script- © Dynamic Drive (www.dynamicdrive.com)* This notice MUST stay intact for legal use* Visit http://www.dynamicdrive.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=disableselectdocument.onmouseup=reEnable}
</script>
Click done than your finish! Please Comment and Share this post if you find it helpful
Liked the Post? Please subscribe:
*Please click on the confirmation link sent in your Spam folder of Email*

0 意見 em “How to protect your posts?”

張貼留言

Drop Your Comments, Suggestions And Questions Below.
Click "Subscribe by email" to get notified when replied.
Do Not Add Links To The Body Of Your Comment.

 

Attack of the Dawn Copyright © 2011 -- Template created by Hanley Siu -- Powered by Blogger