Our users should use Ctrl+Shift+J shortcut in web application.
We have tried Chrome switchers like \'--disable-dev-tools\' but it not works in our scenario.
window.oncontextmenu = function () {
return false;
}
document.onkeydown = function (e) {
if (window.event.keyCode == 123 || e.button==2)
return false;
}
Use this code to disable rightclick & F12 on ur page, but there is no way to stop a user from opening Dev Tools Menu > Tools > Developer tools
Hope this helped!!