I'm trying to find out: how browsers identify login forms in different sites?
Doesn't matter if I'm acessing my GMail account or some personal project, IE/Firefox always knows that that page contains login info.
Do they conclude that simply searching for input types = password or there is some cookie information involved?
Thank you in advance.
Filipe
No only do they look for type=password they will also look for common input names for usernames and passwords.
For example most browsers will detect the following field names as login information.
<input name="login" type=text>
<input name="user" type=text>
<input name="username" type=text>
<input name="passwd" type="password">
<input name="pass" type="password">
<input name="password" type="password">
They look for input type=password.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With