Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 replies
  • 1 has this problem
  • 6 views
  • Last reply by 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?

Modified by gendalf

All Replies (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).