Betol-betol Hangat! Tutorial Javascript untuk Blog anda!

Oleh Kaki Wayang on

How To Disable Highlight Text on blogger blog

Hey! my dear friends, today i'm tell you how to disable highlight text on blogger posts. After you add this gadget will not allow to copy your posts. So this is right way.


1.Log in to your dashboard---> Design --> 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- © 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=disableselect
document.onmouseup=reEnable
}

</script>

Please send me an email if you want this code!!!

Mengenai Penulis:

Kaki Wayang mula terlibat dan serius dalam dunia penulisan kreatif sejak tahun 2006. Beliau juga terlibat dalam penciptaan lagu dan lirik lagu Nasyid dan pernah menjulang nama Politeknik Muadzam Shah apabila menjuarai Pertandingan Lagu-lagu Patriotik di PNM, Kuala Lumpur pada tahun 2007.

Ikuti perkembangan terbaru beliau melalui @ Blog Paling Hangat! | Facebook

Comments
0 Comments

{ 0 Komen Membina!... read them below or add one }

Post a Comment

Related Posts Plugin for WordPress, Blogger...