Hey Guys! Now a days most of the people stealing contents from others blogs to his blog by copying their content. it's illegal to copying content from others. For example you write a personal post on your blog by great struggle and hard work in some hours or days and someone copy your content from your blog in paste it into his blog then you will definitely make an anger on that person.
Therfore today i brought a great anti copying content technique for you.
For Blogger you have to do this
Step 1. Go to blogger Dashboard > Layout > Add a Gadget > HTML / JavaScript.
Step 2. Copy the following below Codes which you desired and paste it in that blogger widget.
Step 3. Save the HTML /JavaScript and view your blog.
For Word Press you have to do that
Step 2. Copy the following below Codes which you desired and paste it in that Wordpress widget.
Step 3. Save the HTML /JavaScript and view your blog.
Disable Right Click Funtion With Message
<script language=JavaScript>
//Disable right mouse click Script
// http://yobloghelper.blogspot.com
var message="Right Click 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>
Disable Right Click Funtion Without Message
<script language=JavaScript>
<!--
//Disable right mouse click Script - No alert
// http://yobloghelper.blogspot.com
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
0 comments:
Post a Comment