summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2009-07-01 18:47:27 +1000
committerDoug Kearns <dougkearns@gmail.com>2009-07-01 18:47:27 +1000
commit3bb2f92e83d01f6f8b6b053cd3f15babda013e07 (patch)
tree94c22b144d80cf11e173d405951f329ff2698db7
parentf9ffc9138a4f42f1734dce94624caade3a81ba8a (diff)
downloadpentadactyl-3bb2f92e83d01f6f8b6b053cd3f15babda013e07.tar.gz
Remove Gmail hack from the default 'hinttags' value.
This was barely a partial solution anyway.
-rw-r--r--common/content/hints.js11
1 files 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)
{