Bug 224406 - secure.tibia.com password manager recipe for login and registration. r=ckarlof
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Wed, 15 Jul 2015 21:21:54 -0700
changeset 253382 db74b7ee7a309591810d3c292089f6ffddabdc65
parent 253381 9e0864ad7475ea6d4ad263e75a5f2bf3d838f3ab
child 253383 343b87d1887624822952c8c2406b854ad0b4b54c
push id62438
push userryanvm@gmail.com
push dateFri, 17 Jul 2015 14:27:33 +0000
treeherdermozilla-inbound@ea2b6887033b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersckarlof
bugs224406
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 224406 - secure.tibia.com password manager recipe for login and registration. r=ckarlof The login form uses type=password for the account name so we force it to be detected as the username field. The registration form has the email address directly before the first password field so we override that.
toolkit/components/passwordmgr/content/recipes.json
--- a/toolkit/components/passwordmgr/content/recipes.json
+++ b/toolkit/components/passwordmgr/content/recipes.json
@@ -9,11 +9,18 @@
       "description": "anthem uses a hidden password and username field to disable filling",
       "hosts": ["www.anthem.com"],
       "passwordSelector": "#LoginContent_txtLoginPass"
     },
     {
       "description": "An ephemeral password-shim field is incorrectly selected as the username field.",
       "hosts": ["www.discover.com"],
       "usernameSelector": "#login-account"
+    },
+    {
+      "description": "Tibia uses type=password for its username field and puts the email address before the password field during registration",
+      "hosts": ["secure.tibia.com"],
+      "usernameSelector": "#accountname, input[name='loginname']",
+      "passwordSelector": "#password1, input[name='loginpassword']",
+      "pathRegex": "^\/account\/"
     }
   ]
 }