question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable Remembering Password

See original GitHub issue

I’m still having issue with nwjs automatically remember password. I’ve tried using all the workarounds in #5184 but still have the same issue. autocomplete="off" and autocomplete="new-password" doesn’t work

I’m using the Linux v0.22.3 SDK version. Can nwjs team please fix this?

Reproduce step:

  1. Login through a login form successfully,
  2. Go back to the login form
  3. Fill in the username and password
  4. Then delete the password
  5. nwjs/chrome now give you a list of username you can click to get to the password

Screenshot: spectacle tj6212

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:39 (3 by maintainers)

github_iconTop GitHub Comments

16reactions
gbevancommented, Jan 6, 2018

this fixed this issue for me in my top index.html


  <script>
    // Remove all saved vault passwords in this app and prevent future saving
    chrome.passwordsPrivate.getSavedPasswordList(function(passwords) {
      passwords.forEach((p, i) => {
        chrome.passwordsPrivate.removeSavedPassword(i);
      });
    });
    chrome.privacy.services.passwordSavingEnabled.set({ value: false });
  </script>
2reactions
flobiwankenobicommented, Oct 5, 2017

In addition to @menyalmog suggestion you can disable passwordSaving via chrome.privacy.services.passwordSavingEnabled.set({ value: false })

You can check if it’s enabled via: chrome.privacy.services.passwordSavingEnabled.get({}, details => console.log(details.value))

But it would be nice to disable this by args.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Turn off the built-in password manager in your browser
Tap the Chrome menu and choose Settings. · Tap Passwords, then turn off “Save passwords” and Auto Sign-in. · Tap , then tap...
Read more >
Disable Your Browser's Built-in Password Manager - Pitt IT
Click the Safari menu and choose Preferences. · Click the AutoFill icon. · Turn off all the AutoFill settings: “Using info from my...
Read more >
Manage passwords - Computer - Google Chrome Help
More and then Remove. Export: To the right of "Saved Passwords," click More More and then Export passwords. To clear all your saved...
Read more >
Turn off the built-in password manager in your browser
Turn off Chrome password management. Select the Chrome menu in the toolbar. Select Settings or Preferences. In the Autofill section, select Passwords. Turn...
Read more >
How to prevent browser to remember password in HTML
Method 3: Another method of preventing browsers to remember password is, using autocomplete=”new-password”, by this the browser will give random ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found