搜尋 Mozilla 技術支援網站

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

了解更多

[search functionality (ctrl+f)] Some websites override it, how to prevent this?

  • 2 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 cor-el

more options

discord for example, when you press ctrl+f it doesn't open default browser search function to search currently opened tab, but instead focuses on the built-in search function of discord that does a different thing - searches the entire hub. Is there a config or about config to prevent this behavior on all sites?

discord for example, when you press ctrl+f it doesn't open default browser search function to search currently opened tab, but instead focuses on the built-in search function of discord that does a different thing - searches the entire hub. Is there a config or about config to prevent this behavior on all sites?

由 gendalf 於 修改

所有回覆 (2)

more options

You can prevent a page to override the builtin shortcut by modifying the permissions allowed to that specific page. To do so:

1. Right-click on an empty area of the web page and select View Page Info from the context menu. 2. In the Page Info WIndow, right-click on Permissions 3. Search for Override Keyboard Shortcuts in the list 4. Uncheck Use Default and set the permission to Block

You can also find more informations on https://support.mozilla.org/en-US/kb/firefox-page-info-window

more options

Note that you should always be able to open the search bar via the Edit menu or via the "3-bar" Firefox menu button drop-down list (F3 might work as well).