Now you can protect your website/blog by simple java script code
here is the code:
<body>
<script type="text/javascript" language="JavaScript"> | |
function disableText(e){return false;} | |
function reEnable(){return true;} | |
//For browser IE4+ | |
document.onselectstart = new Function ("return false"); | |
//For browser NS6 | |
if (window.sidebar){document.onmousedown = disableText;document.onclick = reEnable;} | |
window.onkeydown = function(e){if(e.ctrlKey == true){return false;}}; | |
</script> </body> just copy above code and do the following 1. login your blog 2. goto LAYOUT option in settings 3. select add gadget 4.with in that select HTML/JAVA SCRIPT 5.paste the above code 6.save arragement 7.finish |
No comments: