I need help to find a solution for disabling the browser zoom in/out in all possible ways.
I have found this code snippet, which works perfectly in the way it was designed for:
$(document).keydown(function(event) {
if (event.ctrlKey==true && (event.which == '61' || event.which == '107' || event.which == '173' || event.which == '109' || event.which == '187' || event.which == '189' ) ) {
event.preventDefault();
}
});
$(window).bind('mousewheel DOMMouseScroll', function (event) {
if (event.ctrlKey == true) {
event.preventDefault();
}
});
This perfectly blocks ctrl + 0 and the wheel, but is there any way to also disable the browser's built-in control panels or context menus?
Browser's control panels http://screenshot.cz/NPRTD/browsers-panels.png