AccessKey Remover

By boardraider Last update May 28, 2009 — Installed 89 times.

There are 2 previous versions of this script.

// ==UserScript==
// @name           AccessKey Remover
// @namespace      boardraider@camp-firefox.de
// @description    http://userscripts.org/scripts/show/50324
// @version        0.1
// @date           2009-05-28
// @copyright      2009, boardraider
// @license        GPL 2 or later
// @include        http://www.camp-firefox.de/forum/*
// ==/UserScript==
//
// -----------------------------------------------------------------------------
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// -----------------------------------------------------------------------------

(function () {

var links = document.evaluate("//a[@accesskey]", document, null,
  XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0; i < links.snapshotLength; i++) {
  links.snapshotItem(i).removeAttribute("accesskey");
}

})();