1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 18:57:58 +01:00

Remove Gmail hack from the default 'hinttags' value.

This was barely a partial solution anyway.
This commit is contained in:
Doug Kearns
2009-07-01 18:47:27 +10:00
parent f9ffc9138a
commit 3bb2f92e83

View File

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