Cara Membuat Isi Blog Tidak Bisa Di Copy Paste

Gosha -untuk mencegah plagiat yang terjadi di dunia maya dan untuk melindungi konten blog anda. Kali ini penulis akan share Cara Membuat Isi Blog Tidak Bisa Di Copy. Salah satunya dengan menonaktifkan tool text selection.


1. Login ke blogger
2. Pilih Design >> Edit HTML
3. Copy code ini dan letakan di bawah code <head>

<script type="text/javascript">
function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
target.style.MozUserSelect="none"
else //All other route (ie: Opera)
target.onmousedown=function(){return false}
target.style.cursor = "default"
}
//Sample usages
//disableSelection(document.body) //Disable text selection on entire body
//disableSelection(document.getElementById("mydiv")) //Disable text selection on element with id="mydiv"
</script>
4. Lalu copy code ini dan letakan di bawah code <body>
<script type="text/javascript">
disableSelection(document.body) //disable text selection on entire body of page
</script>
5. Klik Save Template. Lalu sekarang coba lihat blog anda.

Sumber : Cokhik Blog
Share this article :
 

Posting Komentar

Thanks for the comment :)

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. GOSHA BLOG - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger