dissable right click in blogger and other site with warning message
most of visitor copy content from your blogger blog and other site this post is very usefull to keep yur post data copyrighted.when we copy sonething we select the data content of site and then use shortcut keys or
or right click and select copy option
in this post i show that how to disable copy paste
and warning message,
in blogger or other site
var message="Warning you don,t have permision to copy content from This site";
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>
if you face any problem than just email me or just comment below
most of visitor copy content from your blogger blog and other site this post is very usefull to keep yur post data copyrighted.when we copy sonething we select the data content of site and then use shortcut keys or
or right click and select copy option
in this post i show that how to disable copy paste
and warning message,
in blogger or other site
when anyone select your sit/blog data and when they right click this message will appear
how add this to blogger follow the step
Follow The Steps
Go to blogger
Select your desire blog
Click on {show with red mark in image]

Now select Layout

And click on Add gadget

Now select Html/javascript

in title write your widget title and paste code

Paste the below Code in html java script
and click on save
<script type="text/javascript">Go to blogger
Select your desire blog
Click on {show with red mark in image]

Now select Layout

And click on Add gadget

Now select Html/javascript

in title write your widget title and paste code

Paste the below Code in html java script
and click on save
var message="Warning you don,t have permision to copy content from This site";
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>
if you face any problem than just email me or just comment below
کوئی تبصرے نہیں:
ایک تبصرہ شائع کریں