Download Google Chrome Latest Version Offline

Posts about google chrome

13 February 2017

How To Get Google Chrome To Stop Asking To Save Password

how to get google chrome to stop asking to save password I need to be able to prevent the Save Password bubble from even showing up after a user logs in. Autocomplete=off is not the answer. I have not come across a post that offers a secure solution for this issue. Is there really no way to disable the password bubble in Chrome??

Solution 1

Found there is no "supported" way to do it.

What I did was copy the password content to a hidden field and remove the password inputs BEFORE submit.

Since there aren't any passwords fields on the page when the submit occurs, the browser never asks to save it.

Here's my javascript code (using jquery):

function executeAdjustment(){      
        var myForm = document.getElementById("createServerForm");
        myForm.action = "";

Solution 2

After hours of searching, I came up with my own solution, which seems to work in Chrome and Safari (though not in Firefox or Opera, and I haven't tested IE). The trick is to surround the password field with two dummy fields.

<input type="password" class="stealthy" tabindex="-1">
<input type="password" name="user[password]" id="user_password" autocomplete="off">
<input type="password" class="stealthy" tabindex="-1">
Here's the CSS I used:

.stealthy {
  left: 0;
  margin: 0;
  max-height: 1px;
  max-width: 1px;
  opacity: 0;
  outline: none;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  top: 0;
  z-index: -1;



Powered by Blogger.