How can I make Safari stop webpages from overriding any shortcuts?
There are three ways to prevent this behavior on a web page.


Preferred method - Use the settings on the Web App to disable or change shortcut keybindings.
Use a third-party Safari extension that allows you to modify the keybindings for javascript.
Disable Javascript in Safari.