← Back to context

Comment by RajT88

4 years ago

Just was playing with this more.

Visiting the secret's page from the "recently closed" or "history" views of Brave/Chrome leaves the password in text entry box.

Edge doesn't do it.

Probably there's some easy fix for it, I'd guess, but I'm not really a web dev.

Interesting, thanks for saying something.

I'm also not a web dev, but I think I can manage to clear out the password once the secret is decrypted successfully.

  • or use <input type="password"> ? But then one can't read the password as one types.

    • Change it to text on focus, password on blur. It will still be in the history though… clearing it on submit makes the most sense.

  • changing the type of the input from text to password will help. also the required attribute does nothing in html if the input is not part of a form.