aboutsummaryrefslogtreecommitdiffstats
path: root/vimiumFrontend.js
diff options
context:
space:
mode:
authorJez Ng2012-01-10 01:22:41 +0800
committerJez Ng2012-01-12 02:12:24 +0800
commitf9badc3e33045f478e9433916f0f608f85a4036e (patch)
treef84ae6ed04403ec5f1a246bc5b4e99a4af55abb9 /vimiumFrontend.js
parent03728546c28664deaf89b9d2dc8fe5fb630bcd9a (diff)
downloadvimium-f9badc3e33045f478e9433916f0f608f85a4036e.tar.bz2
Add password boxes to list of input focus-able elements.
Add test for this element and for skipping over hidden elements (commit e2f3b54).
Diffstat (limited to 'vimiumFrontend.js')
-rw-r--r--vimiumFrontend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimiumFrontend.js b/vimiumFrontend.js
index 8fa72509..594438e9 100644
--- a/vimiumFrontend.js
+++ b/vimiumFrontend.js
@@ -29,7 +29,7 @@ var linkHintCss;
// The corresponding XPath for such elements.
var textInputXPath = (function() {
- var textInputTypes = ["text", "search", "email", "url", "number"];
+ var textInputTypes = ["text", "search", "email", "url", "number", "password"];
var inputElements = ["input[" +
textInputTypes.map(function (type) { return '@type="' + type + '"'; }).join(" or ") + "or not(@type)]",
"textarea", "*[@contenteditable='' or translate(@contenteditable, 'TRUE', 'true')='true']"];