Saturday 21 July 2012

Stop Copy Paste on Blogger




Tutorial Kali in yang berjudul "Stop Copy Paste on Blogger"
Tidak bermaksuk mengajarkan tuk berpelit ria, masa di copy aja tidak boleh, apalagi tuk kepentingan sekolah/kuliah.Tapi klo hendak meng copy paste tuk blog/web minta ijin
dulu atau dengan mencantumkan sumbernya.

Tutorial ini akan menjelaskan, Bagaimana caranya menghentikan fungsi copy paste di blog, Ikuti langkah-langkah berikut:
1. Login pada blogger profile
2. Pilih Dashboard
3. Pilih Design dan Klik Edit HTML
4. Klik Enpand Template
5. Cari untuk code < /head> pada file HTML (dibawah)
6.  Copy code dibawah ini dan Paste diatas </head> pada no 5

<!--Disable Copy And Paste-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>


7. Klik Save Template
8. Sekarang blog sudah Terkunci dari fungsi copy paste.



Kita juga dapat mencoba melalui
1. Add Gadget pada Page Elements
2. Pilih HTML /JavaScript
3. Copy Paste code di bawah ini

<!-- Disable Copy and Paste-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function (&quot;return false&quot;)
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>

4. Klik Save, lalu lihat blog dan coba di copy





No comments:

Post a Comment