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

Check <pre/> and <code/> elements in ;F.

--HG--
branch : bootstrapped
This commit is contained in:
Kris Maglione
2010-12-27 09:28:40 -05:00
parent fff482a539
commit eed4ddb74b
3 changed files with 23 additions and 13 deletions

View File

@@ -1129,7 +1129,7 @@ var Hints = Module("hints", {
"XPath strings of hintable elements for extended hint modes",
"regexpmap", "[iI]:" + xpath(["img"]) +
",[OTivVWy]:" + xpath(["{a,area}[@href]", "{img,iframe}[@src]"]) +
",[F]:" + xpath(["div", "span", "p", "body", "html"]) +
",[F]:" + xpath(["body", "code", "div", "html", "p", "pre", "span"]) +
",[S]:" + xpath(["input[not(@type='hidden')]", "textarea", "button", "select"]),
{ validator: Option.validateXPath });