RemoveDuplicateAccessKeys

By Brian Westphal Last update Jul 3, 2008 — Installed 54 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Script Summary:
Removes duplicate accesskey attributes on a page. Only the first one will survive.

This script has no discussions.

start the discussion

This script has no reviews.

This Greasemonkey user script deletes duplicate accesskeys. This became an issue when I upgraded to Firefox 3. It does not invoke the action associated with an accesskey if there are duplicates on a page. Instead it moves the focus between each duplicate and you must press Enter to invoke the action. My e-mail client (Horde IMP) has duplicate accesskeys. (See Horde bug #6803.)

The first occurrence of a particular accesskey on a page will be left intact. All later duplicates are removed.