mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 05:37:58 +01:00
'hinttags' magic.
This commit is contained in:
@@ -1268,7 +1268,7 @@ var Hints = Module("hints", {
|
||||
"XPath or CSS selector strings of hintable elements for extended hint modes",
|
||||
"regexpmap", {
|
||||
"[iI]": "img",
|
||||
"[asOTvVWy]": ["a[href]", "area[href]", "img[src]", "iframe[src]"],
|
||||
"[asOTvVWy]": [":-moz-any-link", "area[href]", "img[src]", "iframe[src]"],
|
||||
"[f]": "body",
|
||||
"[F]": ["body", "code", "div", "html", "p", "pre", "span"],
|
||||
"[S]": ["input:not([type=hidden])", "textarea", "button", "select"]
|
||||
@@ -1288,7 +1288,7 @@ var Hints = Module("hints", {
|
||||
|
||||
options.add(["hinttags", "ht"],
|
||||
"XPath or CSS selector strings of hintable elements for Hints mode",
|
||||
"stringlist", "a[href],area,button,iframe,input:not([type=hidden]),select,textarea," +
|
||||
"stringlist", ":-moz-any-link,area,button,iframe,input:not([type=hidden]),select,textarea," +
|
||||
"[onclick],[onmouseover],[onmousedown],[onmouseup],[oncommand]," +
|
||||
"[tabindex],[role=link],[role=button],[contenteditable=true]",
|
||||
{
|
||||
|
||||
@@ -688,7 +688,7 @@
|
||||
<spec>'extendedhinttags' 'eht'</spec>
|
||||
<strut/>
|
||||
<type>&option.extendedhinttags.type;</type>
|
||||
<default>[asOTvVWy]:a[href],area[href],img[src],iframe[src],
|
||||
<default>[asOTvVWy]:':-moz-any-link',area[href],img[src],iframe[src],
|
||||
[f]:body,
|
||||
[F]:body,code,div,html,p,pre,span,
|
||||
[iI]:img,
|
||||
@@ -925,7 +925,7 @@
|
||||
<strut/>
|
||||
<spec>'hinttags' 'ht'</spec>
|
||||
<type>&option.hinttags.type;</type>
|
||||
<default>a[href],area,button,iframe,input:not([type=hidden]),select,textarea,
|
||||
<default>:-moz-any-link,area,button,iframe,input:not([type=hidden]),select,textarea,
|
||||
[onclick],[onmouseover],[onmousedown],[onmouseup],[oncommand],
|
||||
[tabindex],[role=link],[role=button],[contenteditable=true]</default>
|
||||
<description>
|
||||
|
||||
Reference in New Issue
Block a user