Đây là đoạn code dùng để chống quét khối và sao chép nội dung đối với IE và NS6 : <script> language=JavaScript type=text/javascript> 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> |
Nhãn: Thủ Thuật Cho Blog
0 nhận xét:
Đăng nhận xét