Yes it is possible, you for example can use some functions in JS.
`
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")
// F12
//==========
document.onkeypress = function (event) {
if (e.ctrlKey &&
(e.keyCode === 123)) {
// alert('not allowed');
return false;
}
};
// CTRL + u
//==============
document.onkeydown = function(e) {
if (e.ctrlKey &&
(e.keyCode === 85)) {
// alert('not allowed');
return false;
}
};
`
You can see which is the number of the key you want to block through the site: http://www.foreui.com/articles/Key_Code_Table.htm
loss of time and investment.. At most, what you can do is obfuscate.. this amazes many curious, however, who really wants to read the code will be able to decode anyway... so it is a waste of time even for those who keep the system because to debug an eventual error, for example, it is a nightmare... Remember that pages can be accessed even without a browser.
– Daniel Omine