Social Icons


Pages

No select text content JAVA SCRIPT


No select text content JAVA SCRIPT

  • No select text script 
  • JavaScript no text selection
  • Protect your WEB content 
Instillation steps for blog
  1. Add this script to blog
  2. Open your blog acct
  3. Click design
  4. Then Layout
  5. Add a gadget 
  6. Select HTML/Java Script 
  7. Copy and Paste and click on add
  8. Complete 



<o:p></o:p></span></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
mso-fareast-language:EN-IN"><br></span></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2"><script type="text/javascript"></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2"><br></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">/***********************************************</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">* Disable select-text script- © Dynamic Drive (www.dynamicdrive.com)</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">* This notice MUST stay intact for legal use</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">* Visit http://www.dynamicdrive.com/ for full source code</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">* Modified here to exclude form tags properly and cross browser by jscheuer1</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">***********************************************/</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2"><br></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">//form tags to omit:</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">var omitformtags=["input", "textarea", "select"]</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2"><br></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">function disableselect(e){</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">for (i = 0; i < omitformtags.length; i++)</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">if (omitformtags[i]==(e.target.tagName.toLowerCase()))</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">return;</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">return false</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">}</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2"><br></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">function reEnable(){</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">return true</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">}</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2"><br></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">function noSelect(){</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">if (typeof document.onselectstart!="undefined"){</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">document.onselectstart=new Function ("return false")</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">if (document.getElementsByTagName){</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">tags=document.getElementsByTagName('*')</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">for (j = 0; j < tags.length; j++){</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">for (i = 0; i < omitformtags.length; i++)</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">if (tags[j].tagName.toLowerCase()==omitformtags[i]){</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">tags[j].onselectstart=function(){</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">document.onselectstart=new Function ('return true')</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">}</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">tags[j].onmouseup=function(){</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">document.onselectstart=new Function ('return false')</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">}</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">}</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">}</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">}</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">}</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">else{</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">document.onmousedown=disableselect</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">document.onmouseup=reEnable</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">}</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">}</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2"><br></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2">window.onload=noSelect;</font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2"></script></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><font face="'Courier New'" size="2"><br></font></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; "><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-font-family:"Times New Roman";
mso-fareast-language:EN-IN">





No comments:

Post a Comment