Construct can export your project as a traditional Windows desktop app using Microsoft Edge WebView2 . This is basically a copy of the Microsoft Edge browser en...
Hello, how can I disable the cntrl-P cntr-R keyboard shortcuts when exporting via Microsoft Edge WebView2 ... or how can I disable the buttons participating in the keyboard combination, for example P or R, etc ...?
For example, for export via NW.js, such a script is implemented and work:
window.addEventListener('keydown', ev => {
if (ev.ctrlKey && (ev.code === 'KeyP' || ev.code === 'KeyR' || ev.code === 'KeyF')) {
ev.preventDefault();
}
});