Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can I stop sites hijacking the browsers accelerator keys?

5 views
Skip to first unread message

Rob Oxspring

unread,
Sep 7, 2005, 6:27:55 PM9/7/05
to
Hi,

Increasingly I find websites are setting up accesskeys in their html
code so that people can use keyboard shortcuts to navigate the site.
This really annoys me, especially when they hijack shortcuts I use often
and I'd like to be able to stop the sites doing that. I'm hoping there
is a preference I can set somewhere that can simply turn off accesskeys
support, but am interested in any solutions that people might be able to
offer!

In case I'm being unclear, the latest example I've bumped into is at
http://www.rightmove.co.uk/. I hit ALT+d expecting focus to shift to the
address bar and instead I get moved over to the Holiday Lets section of
the site.

Thanks for your advice,

Rob

Browser: Firefox 1.0.6
Operating System: Windows XP SP2

James Ross

unread,
Sep 8, 2005, 12:49:36 PM9/8/05
to
Rob Oxspring wrote:
> Increasingly I find websites are setting up accesskeys in their html
> code so that people can use keyboard shortcuts to navigate the site.
> This really annoys me, especially when they hijack shortcuts I use often
> and I'd like to be able to stop the sites doing that. I'm hoping there
> is a preference I can set somewhere that can simply turn off accesskeys
> support, but am interested in any solutions that people might be able to
> offer!

Enter "about:config" into the URL bar and hit Enter to load the complete
configuration page. Then find the item named "ui.key.generalAccessKey"
(use the filter if you like), and double-click it. Enter the value "0".

How it works: there are a few preferences starting "ui.key.", and they
define what keys trigger certain things, including what key is used for
menus and webpage shortcuts. 17 is Control, and 18 Alt on a Windows system.

HTH

--
James Ross <sil...@warwickcompsoc.co.uk>
ChatZilla Developer

Rob Oxspring

unread,
Sep 8, 2005, 2:48:40 PM9/8/05
to

Excellent - that did just the job thanks!

Rob

0 new messages