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) {