We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 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).