<!--disable right click--->
<script language=JavaScript> 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>
<!---end here-->
<!--using f12 disable-->
<script src="http://sibeeshpassion. com/content/scripts/jquery-1. 11.1.min.js"></script>
<script>
document.onkeypress = function (event) {
event = (event || window.event);
if (event.keyCode == 123) {
return false;
}
}
document.onmousedown = function (event) {
event = (event || window.event);
if (event.keyCode == 123) {
return false;
}
}
document.onkeydown = function (event) {
event = (event || window.event);
if (event.keyCode == 123) {
return false;
}
}
</script>
<!---end here-->
<!--for ctrl+U--- disable code here-->
<script>
/*function check(e)
{
alert(e.keyCode);
}*/
document.onkeydown = function(e) {
if (e.ctrlKey && (e.keyCode === 67 || e.keyCode === 86 || e.keyCode === 85 || e.keyCode === 117)) {//Alt+c, Alt+v will also be disabledsadly.
alert('not allowed');
}
return false;
};
</script>
<!--end here ctrl+u--->