Overwriting Browser keybinds

I’ve created a grid based web app using Dash. I need to overwrite some browser keybinds/keyboard shortcuts and I can’t find anything about this in the Dash documentation or forum posts.

My goal is to prevent the default action of certain browser keybinds/shortcuts and, using an extension that allows capturing of keyboard inputs, perform my own actions. As far as I can tell this extension I’m using to capture keyboard events, thedirtyfew / dash-extensions, doesn’t overwrite browser defaults.

I would like to avoid writing any JS as I don’t have much experience with it, so I’m wondering if there are any known ways to do this using the Dash framework or any extensions that might have this utility.

Thanks for the help!

I’m using dash 2.1.0, and Python 3.9.7