gecko-dev/toolkit/components/passwordmgr/content/recipes.json
Matthew Noorenberghe 2e0aeb50b2 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.

--HG--
extra : commitid : JMVNAmyIC7I
extra : rebase_source : 596047f2097745547f21f4ef431c365c7c2774da
2015-07-15 21:21:54 -07:00

27 lines
951 B
JSON

{
"siteRecipes": [
{
"description": "okta uses a hidden password field to disable filling",
"hosts": ["mozilla.okta.com"],
"passwordSelector": "#pass-signin"
},
{
"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\/"
}
]
}