Can I disable Chrome password check only for localhost? Can I disable Chrome password check only for localhost? google-chrome google-chrome

Can I disable Chrome password check only for localhost?


This isn't an available feature I'm afraid. As a workaround, I'd recommend creating a separate Chrome profile for when you use this system and your personal autofill will then not appear in this profile.

  • At the top right, click Profile Profile.
  • Click Manage people.
  • Click Add person.
  • Choose a name and a photo.
  • Click Save.


I have the same desire for things like 10.0.0.1 and 192.168.1.1. The router login is only accessible via direct port and I can see quite clearly if someone else has plugged into a LAN ports as it's right next to my PC. I don't need Chrome telling me my already-locked down device needs a new password.


One way to prevent this from happening on localhost is to not to use type="password" for input fields such as...

<input type="password" value="password" name="password">

Just change type from "password" to "text"

<input type="text" value="password" name="password">

and that popup will never appear again during development.

The downside of this method is that you need to remember to put "text" back to "password" when going live.

In my case I automated the input type by checking if it is running on localhost or not via server side code and output the input type for the password field accordingly.

$localhost = array(    '127.0.0.1',    '::1');$fieldType = in_array($_SERVER['REMOTE_ADDR'], $localhost) ? "text" : "password";echo '<input type="'.$fieldType.'" value="password" name="password">';

If you want to do autofill then you could add extra buttons that only appear when running on localhost and clicking on those buttons auto populate those field and auto submit.