![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Firefox fills in login information on every form on a page
I'm a web programmer. In one of my projects, I have a username/password login screen, and Firefox remembers my login just fine.
However, I have a special access page within the project that asks for a different username and password. These fields have very different names and ids, but Firefox still inserts the same login information, and I don't want it to do that.
Is there away for me to prevent that from happening?
Both fields have "autocomplete=off" on them.
I am running the newest version of Firefox on Windows 7 64bit.
Thanks!
Kaikki vastaukset (2)
Enter the second login data, then press the login button. The Password Manager will ask you want to replace the current information. Answer No. Both the old and new information should now be in the PW. When you go to login again, the user/password will not be filled in automatically. Just start entering a few characters in the user field, and a small window will come up with the full user name(s). Pick the one you want to use.
Thanks, but in this case that won't work - to avoid exactly this situation of having the browser remember the login, the two login text fields aren't connected to a form - instead, javascript copies the content of the two fields into the actual (hidden) form and submits there.
As far as I know, Firefox has only started doing this very recently.
I tried catching the text entry from Firefox with jquery, but it happens AFTER the page has completed loading - I might have to try a timeout to empty the fields.