mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 21:07:59 +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 /////////////////////////////////////////////////
|
////////////////////// OPTIONS /////////////////////////////////////////////////
|
||||||
/////////////////////////////////////////////////////////////////////////////{{{
|
/////////////////////////////////////////////////////////////////////////////{{{
|
||||||
|
|
||||||
// TODO: document class='lk', what is it? --djk
|
|
||||||
const DEFAULT_HINTTAGS =
|
const DEFAULT_HINTTAGS =
|
||||||
util.Array(["input[not(@type='hidden')]", "a", "area", "iframe", "textarea", "button", "select"]).map(
|
util.Array(["input[not(@type='hidden')]", "a", "area", "iframe", "textarea", "button", "select"])
|
||||||
function (spec) [spec, "xhtml:" + spec]).flatten()
|
.map(function (spec) [spec, "xhtml:" + spec]).flatten()
|
||||||
.concat(
|
.concat("*[@onclick or @onmouseover or @onmousedown or @onmouseup or @oncommand or @role='link']")
|
||||||
"*[@onclick or @onmouseover or @onmousedown or @onmouseup or @oncommand or @class='lk' or @role='link']")
|
.map(function (node) "//" + node).join(" | ");
|
||||||
.map(function (node) "//" + node)
|
|
||||||
.join(" | ");
|
|
||||||
|
|
||||||
function checkXPath(val)
|
function checkXPath(val)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user