I want to achieve this: when I open specific url (there is roundcube login page) in Chrome on desktop, I want to have username prefilled (or at least when I start typing "h" it should show me ability to use username hello#something.dom - this way I have it on Android in chrome).
Any idea how to do this please and set it up in chrome on desktop? (I do not want to save username and password in Password settings in Chrome, I just need to get ability to choose from previously used or stored prefill value, so I do not need to type it again and again many times per day)
Thank you!
This was actually done in 2010 as part of GitHub issue 3044.
You can append the GET parameters _user or _host to prefill these fields. It's not implemented for the password field for obvious reasons.
https://mail.mycompany.example/?_user=hello%40something.dom
Related
I use few websites on which i would like to remember username and password.
Login mechanism is divided on two steps, in first user gives username and in next step password. Firefox remembers both of them but in next login try, username is not filled so I must fill it manually. It doesn't propose any values even if I start typing. Its not my website so I can't modify code to the working state. There is possibility that owner made it as intended but I don't care. I want to have autofill both fields, not only password field. It's my credentials, not owner of website. I have found some javascript code running as a bookmark
javascript:(function(){var fm=document.getElementsByTagName('form');for(i=0;i<fm.length;i++){fm[i].setAttribute('autocomplete','on');}})()
and it even worked for some time on one of these problematic websites (autofill proposed me a value after typed first letter) but now it doesn't work any longer.
The problematic website i want to have fully working autofill is
h**ps://www.orange.pl/twojekonto/zaloguj
Is there anything I can do to force it? Maybe other javascript inject by bookmark? I am using Firefox 91.0.2.
I am working on a website and I noticed chrome has a weird behavior. When I save form values, chrome asks if I want to save the the username and password. The weird thing is that that form isn't a login form, that form doesn't even have a field named username or password. So what qualifications does chrome exactly look for a form that makes it think that it is a login form? Or when is it triggered?
1) does it need to have a username and password field?
2) is it looking for a specific keyword?
3) or is this a known bug for chrome?
I want to modify firefox / chrome to be able to autologin on some websites.Extension like lastpass is not an option since anyone can get the password easily.
An possible approach
For some specific urls i can send the data via POST automatically to auto login
How can i achieve that ?
On Firefox you would force populate the password field with the user name and password from password manager, and then login.
You will need to use a pageMod - https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/page-mod - this allows you to listen to page loads
I tried to search the answer but can't get anything related to this.
Here is my problem, on create account page of the site, firefox can ask the user to save the password. If user click on save. In firefox settings -> saved passwords, I can see a record with the right username.
Then I go to the sign page of the same site, it won't populate any saved password. If I enter the same username and password as before and click on sign in. This time we can save the password again. After this in firefox settings -> saved passwords, now I can see 2 records with the same user name.
And this time if I go to the sign in page again, the saved username and password will populate correctly.
My question is, for these 2 records in saved passwords(they look exactly the same, shows same site url with the same username). Firefox will find the right username and password in saved passwords based on the page? Or based on the field name on the page? If someone knows, please tell me a little more, thank you very much.
Often the initial signup fields will have different names than the login fields. This causes the browser to not recognize that they are the same fields. When you save the first time it saves the signup credentials connected to the signup form, when you save the second time it saves the login credentials connected to the login form. Hope that makes sense.
I'm creating a website and I got 2 forms on the first page : Login & Registration.
When I authenticate, Chrome asks me to save my password.
If I do so, when I get back on that page, Google Chrome auto fill my login informations on the Login form but also on the registration form.
The "login" fields on the Login and Registration forms have two different names and IDs.
It seems that Chrome auto fill the login and password informations every time it finds an input field with the password type.
I could use "autocomplete=off" on my password field ( on the Registration form ), but this behavior of Chrome seems weird.
So my question is :
Is there a way to tell Chrome to save the login & passwords informations based on the field name and not just the type ?
Thanks