Friday, 20 December 2013

Disable Righ Click On Blogger and on WordPress with Mesg

Posted at  06:48  |  in  

Go To »» Blogger Dashboard »» Template »» Edit HTML
»» Find </head> and before it paste code from below box..
Done you have disable Right click With message.

WordPress User go to dashboard »» appearance »» Editor »» Select Header.php
and paste code Before </head> from Above Text box and update file..
<script type="text/javascript">
var message="I am sorry You Have Not Allowed To Right Click On 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>

All web users can disable Right click by adding above java sccript to their site
word press user go to dashboard –> appearance –> Editor –> them Header.php
and paste code Before </head> from Above Text box

Share this post

About Naveed Iqbal

Nulla sagittis convallis arcu. Sed sed nunc. Curabitur consequat. Quisque metus enim venenatis fermentum mollis. Duis vulputate elit in elit. Follow him on Google+.

0 comments:

About-Privacy Policy-Contact us
Copyright © 2013 fulluptodate. Blogger Template by Bloggertheme9
Proudly Powered by Blogger.
back to top