Firefox: don't allow websites to override the / (slash) key

8

0

Some websites override the behavior of the '/' key in Firefox. Normally this opens the incremental search toolbar at the bottom of the page. But on some websites it places the cursor in a search box on the site itself. How can I prevent this?

compie

Posted 2010-02-26T13:33:19.457

Reputation: 433

I guess an example website might help. – Arjan – 2010-02-26T13:35:23.413

Arjan: https://mail.google.com/

– user1686 – 2010-02-26T14:33:36.487

Pressing the slash on https://mail.google.com/ works fine on my Mac. (I do have the keyconfig add-on installed, and the Nightly Tester Tools to enable that add-on; maybe that's keeping websites from stealing the keyboard shortcut then. But I did not explicitly map the slash, so I doubt that.) The question is not about websites that initially focus some input, right?

– Arjan – 2010-02-26T14:43:11.300

I always turn on "Search for text when I start typing" so I don't need Ctrl+F or / – phuclv – 2017-04-27T10:48:57.893

Do you have another website? The keyboard shortcuts on mail.google.com can be disabled in Mail Settings -> General -> Keyboard Shortcuts which I have done (and possible @arjan has as well which is why he can't duplicate the issue either). – Matrix Mole – 2011-07-02T09:32:54.037

You can also use CTRL + F to open the seach box. ;-) – DiableNoir – 2011-07-02T16:07:03.597

Answers

2

This Q is definitely addressed by the comments, so I'll rehash in a useful way:

You can disable gmail's shortcuts with Mail Settings -> General -> Keyboard Shortcuts if that's interferring.

You can always use ctrl+F or just the ' (apostrophe character) too.

If you have further examples, put some out there, but I haven't found this behavior.

Useful links:
Firefox's help on searching
Syntax to tweak your about:config data in Firefox here

mbb

Posted 2010-02-26T13:33:19.457

Reputation: 2 206

1Another example: about every Confluence site in the world ;) – Gressie – 2011-10-19T08:53:05.147

2Other examples: Twitter, Facebook (Messages), Rally. It's so absurd to me, because the only way anyone will discover this "feature" is by trying to use / for its usual purpose! The only people who are affected by this are the ones who are frustrated by it! – MikeFHay – 2013-05-13T10:23:28.660