PROTECT CONTENT OF BLOG OR WEBSITE



COPY THIS CODE & PASTE IN BLOG

>> log in your blog account
>> select layout
>> click on add gadget
>> select Html/javascript 
>> paste below code in gadget.. that's it


< script language="JavaScript">
< !--
//Disable right mouse click Script
var message="Dont Try To Copy Contents !";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
< /script>


THIS PROCESS IS BEING DONE BY USING WIDGET NOW LETS SEE HOW TO DO IT MANUALLY

Copy below code & paste it
>> find <head> in script
>> paste code below <head>
>> save template


<!--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>
Next Post Previous Post
No Comment
Add Comment
comment url