Wednesday, May 30, 2012

Protection Tips : Right Click and Copy on Blog Post

Dear Friends,

Today I am going to share something about how to protect your blog or website that nobody can copy or right click on the post . This article will help you how to make copy protect your blog post:

1. Copy Protection of Post :
Just add a widget of HTML/JavaScript on the blog , Copy this codes and paste it to HTML area and save it then see the result that nobody can copy your post.
============================================
<!--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>
====================================

2. Right Click Protection of Post :
Just add a widget of HTML/JavaScript on the blog , Copy this codes and paste it to HTML area and save it then see the result that nobody can copy your post.
=============================
<script language=JavaScript>
<!--

//Disable right mouse click Script
//By Being Geeks
//For full source code, visit http://www.beinggeeks.com

var message="Function Disabled!";

///////////////////////////////////
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>
==================================
 
Ok
 
Enjoy the features 
All the best 
thank you 
 

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Related Posts with Thumbnails