I created one Asp.net MVC4 web application using C #, which we can dynamically create keyboard shortcuts for all pages. And we can quickly use these keyboard shortcuts to go to a specific page. And the problem is that each browser has its own default shortcuts. for instance
If I create a CTRL + A key combination, it should be redirected to my own page. But the default browser shortcut CTRL + A selects everything from the page.
I want to disable the default browser shortcuts to give priority to my own shortcuts. Is this any way to achieve them? For my custom shortcuts, I used the jquery keyUp event. I searched on the Internet, there is a jQuery keyUp suggestion, use the preventDefault () function. But to access my own shortcuts, I use the keyUp event. So tell me how to disable default browser shortcuts in all browsers, either using C #, or jQuery, or in any other way.
source share