為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Block website keyboard shortcuts from overriding browser shortcuts

  • 4 回覆
  • 8 有這個問題
  • 6 次檢視
  • 最近回覆由 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.