Monday, 24 April 2017

HOW TO DISABLE RIGHT CLICK ON WEBSITE OR BLOGGER BY SIMPLY ADDING A CODE

JUST copy this code and add to your
right click on site will be disabled

in case of blogger
step one  go to >layout>add a new gagtet>insert this code
<script language=javascript>
<!--

var message="Function Disabled";

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>
this is done

1 comment:

  1. Thanks for the simple and easy implementation of the codes. it displays well on my site healthcentera.com and i love the display very much.

    ReplyDelete

HOW TO ADD A PASSWORD TO A EXCEL FILE

when do you want to protect your excel file from unwanted use or any wrong editing ,this becomes necessary to add a password to the pdf ...