From 3bb2f92e83d01f6f8b6b053cd3f15babda013e07 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 1 Jul 2009 18:47:27 +1000 Subject: [PATCH] Remove Gmail hack from the default 'hinttags' value. This was barely a partial solution anyway. --- common/content/hints.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/common/content/hints.js b/common/content/hints.js index 5ca4e1ea..5f2ec8fb 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -762,14 +762,11 @@ function Hints() //{{{ ////////////////////// OPTIONS ///////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ - // TODO: document class='lk', what is it? --djk const DEFAULT_HINTTAGS = - util.Array(["input[not(@type='hidden')]", "a", "area", "iframe", "textarea", "button", "select"]).map( - function (spec) [spec, "xhtml:" + spec]).flatten() - .concat( - "*[@onclick or @onmouseover or @onmousedown or @onmouseup or @oncommand or @class='lk' or @role='link']") - .map(function (node) "//" + node) - .join(" | "); + util.Array(["input[not(@type='hidden')]", "a", "area", "iframe", "textarea", "button", "select"]) + .map(function (spec) [spec, "xhtml:" + spec]).flatten() + .concat("*[@onclick or @onmouseover or @onmousedown or @onmouseup or @oncommand or @role='link']") + .map(function (node) "//" + node).join(" | "); function checkXPath(val) {