1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 04:07:59 +01:00

'hinttags' magic.

This commit is contained in:
Kris Maglione
2011-10-31 23:11:35 -04:00
parent 11deba65e9
commit 02fca3e9bc
2 changed files with 4 additions and 4 deletions

View File

@@ -1268,7 +1268,7 @@ var Hints = Module("hints", {
"XPath or CSS selector strings of hintable elements for extended hint modes", "XPath or CSS selector strings of hintable elements for extended hint modes",
"regexpmap", { "regexpmap", {
"[iI]": "img", "[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",
"[F]": ["body", "code", "div", "html", "p", "pre", "span"], "[F]": ["body", "code", "div", "html", "p", "pre", "span"],
"[S]": ["input:not([type=hidden])", "textarea", "button", "select"] "[S]": ["input:not([type=hidden])", "textarea", "button", "select"]
@@ -1288,7 +1288,7 @@ var Hints = Module("hints", {
options.add(["hinttags", "ht"], options.add(["hinttags", "ht"],
"XPath or CSS selector strings of hintable elements for Hints mode", "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]," + "[onclick],[onmouseover],[onmousedown],[onmouseup],[oncommand]," +
"[tabindex],[role=link],[role=button],[contenteditable=true]", "[tabindex],[role=link],[role=button],[contenteditable=true]",
{ {

View File

@@ -688,7 +688,7 @@
<spec>'extendedhinttags' 'eht'</spec> <spec>'extendedhinttags' 'eht'</spec>
<strut/> <strut/>
<type>&option.extendedhinttags.type;</type> <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,
[F]:body,code,div,html,p,pre,span, [F]:body,code,div,html,p,pre,span,
[iI]:img, [iI]:img,
@@ -925,7 +925,7 @@
<strut/> <strut/>
<spec>'hinttags' 'ht'</spec> <spec>'hinttags' 'ht'</spec>
<type>&option.hinttags.type;</type> <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], [onclick],[onmouseover],[onmousedown],[onmouseup],[oncommand],
[tabindex],[role=link],[role=button],[contenteditable=true]</default> [tabindex],[role=link],[role=button],[contenteditable=true]</default>
<description> <description>