I want to be able to allow the site I'm using installed as an app to capture all keyboard shortcuts, such as CMD + W. This should be an option in the app creator menu or an option in the Window menu.
It will allow the app to listen and respond to normally reserved shortcuts such as CMD + W.
This is particularly useful in apps like code-server which use CMD + W for VSCode tab management.
Unfortunately, since macOS uses these shortcuts, CMD + W just closes the app rather than the tab.