搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Block website keyboard shortcuts from overriding browser shortcuts

  • 4 回覆
  • 8 有這個問題
  • 7 次檢視
  • 最近回覆由 stevearm

more options

Some websites have keyboard shortcuts that override Firefox's inherent shortcuts. For instance, I use CTRL+PGUP/PGDN to move between tabs, but Amazon's EC2 console supresses those shortcuts. Is there a way to tell Firefox "Assert your own keyboard shortcuts, and don't let websites override them"

I think this archived question (https://support.mozilla.org/en-US/questions/975506) was about the same issue, but the responses went down the path of "How does the website map the shortcuts" instead of "How can Firefox block javascript from being allowed to map those shortcuts"

Some websites have keyboard shortcuts that override Firefox's inherent shortcuts. For instance, I use CTRL+PGUP/PGDN to move between tabs, but Amazon's EC2 console supresses those shortcuts. Is there a way to tell Firefox "Assert your own keyboard shortcuts, and don't let websites override them" I think this archived question (https://support.mozilla.org/en-US/questions/975506) was about the same issue, but the responses went down the path of "How does the website map the shortcuts" instead of "How can Firefox block javascript from being allowed to map those shortcuts"

所有回覆 (4)

more options

This add-on can change the shortcuts that Firefox uses. It might help.

Customizable Shortcuts {web link} Allows to customize Firefox shortcuts.

more options

Unfortunately, I don't want to change the shortcuts, I want Firefox to enforce them. My issue is that, if Firefox is intending to provide shortcuts to use for browsing the web, it should enforce that they work by blocking javascript from overriding that functionality.

more options

Maybe this extension:

more options

Thanks. I installed free-control. It solves the issue with EC2, but I can confirm what the reviews say: it doesn't work for Google Drive. Better than nothing for now.