Cách thực hiện
- Đăng nhập BLOGGER
- Chỉnh sửa HTML
- Chèn JAVASCRIPT
Chèn Script: Áp dụng cho toàn bộ văn bản trong BLOG
<!-- Không cho quét khối và copy văn bản -->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
Mở rộng: Có thể áp dụng thẻ điều kiện để tùy chỉnh nơi bạn muốn áp dụng:
<b:if CODE </b:if>
Save và xem kết quả !!
Xem thêm: thẻ điều kiện cho blogspot

