How do you unbind a keyboard shortcut so that a website handles it, as opposed to Firefox?
The specific instance I'm interested in is the shortcut "Ctrl + Shift + Page Down/Up" which moves the active tab left or right. When using Google Sheets, the keyboard shortcut is used to switch between sheets, which is extremely useful.
So, is there a way to disable the Ctrl+Shift+Page Down/Up shortcut for http://docs.google.com/spreadsheets/*? If not, is there potential to adding such a feature?
Todas as respostas (3)
Hi, not that I know of, though possibly lost something that told me. As far as I know nothing at this time unbinds as you call it default keyboard shortcuts. Though I have not completely looked at this :
Though it maybe possible to do something with scripts but am not sure on that.
There is an entry in the bug tracking system about allowing add-ons to override built-in keyboard shortcuts, so perhaps websites also could do that. Actually, they can preempt some of them already, but not all of them.
Hmm, in the following test page, Firefox is not dispatching the keydown or keypress events for Ctrl+Shift+PageDown or Ctrl+Shift+PageUp, so the site cannot cancel the default navigation. It still could detect the keyup event for this combination and do something, but the tab would still be moved on the Tabs bar.