mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 21:37:58 +01:00
Remove Gmail hack from the default 'hinttags' value.
This was barely a partial solution anyway.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user