Discussion on:

30
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
Having an easy way to unmask passwords can be convenient, but don't misuse it -- and you may not want to create that unmask button if your browser autofills password fields and you share the computer with others.
0 Votes
+ -
I was thinking the same thing, but if you have a master password for the browser, you won't have to worry about it.
You can even go further and have a separate profile in Firefox for each user that contains their bookmarks, passwords, etc.
0 Votes
+ -
Contributr
The button can be created in much the same fashion as for Firefox.
0 Votes
+ -
Thanks.
apotheon 13th Aug 2009
That's good to know, especially since I expect to make Chromium my primary browser as soon as it gets ported to FreeBSD.
0 Votes
+ -
chromium?
pgit 18th Aug 2009
Could you elaborate? What about controlling scripts? Do you have your own hacks for that? (I didn't see any 'add ons' for chromium eg noscript and adblock...)
0 Votes
+ -
"add ons"
apotheon 18th Aug 2009
An extension system exists for Chromium. I think it's still in beta, though.
0 Votes
+ -
Unmask your passwords? How can anyone be off their meds long enough for this to sound like a good idea, and still manage a keyboard?
Generally, there are times when unmasked password fields are preferable though obviously, public places and shared desktop views are not the time for it. A password field defaulting to masked but with an unmasking option like the passkey field in a wireless router would be preferable also.
explain why I should want to mask my passwords on my home desktop.

Incidentally, there's a 'Unhide Passwords' add-on for Firefox.

Edited - AAUUGH! I bit down on a zombie!
0 Votes
+ -
Uuuuuhhhmmm....
maclovin 13th Aug 2009
Well, I would like to think I can type 10-12 letter in succession without messing that up, in three tries. If I can't, I shouldn't be using a computer grin.....but, that's another whole discussion...which I'm sure someone will start later on, I just don't want to be the instigator.
0 Votes
+ -
Too late!
apotheon 13th Aug 2009
that's another whole discussion...which I'm sure someone will start later on, I just don't want to be the instigator.

I think you just did start it.

I've managed to fat-finger a 13-character password four times in a row, at least once.
0 Votes
+ -
Contributr
... it can be hard to get the lesser-used ones right on the first or second try. Back in the old days when you only had one password, it just flew off your fingers -- but we all know that's a very bad practice these days, especially for web sites.
0 Votes
+ -
Don't think I could remember that one and I am still looking at it!
0 Votes
+ -
That password was created much the same way as how I create the passwords I actually use. I use modifications of mnemonics to create my passwords, which makes them easier for me to remember and, even if someone else sees them, harder for others to remember -- because they don't know the mnemonics behind the passwords.

The fact you're having trouble remembering them is a good thing for my means of generating passwords.

Hmm. Maybe I should write an article about creating passwords.
0 Votes
+ -
Contributr
Most people need that badly. Then they could use something other than the name of their pet followed by an incremented number.

I guess I'd better go change my passwords now.

jk
0 Votes
+ -
I hope you can wait a little.
apotheon Updated - 14th Aug 2009
I still have to write it, of course. Maybe next week . . . ?

edit: . . . and I still have to figure out how to put my technique into words, too. Hopefully I can manage it.
0 Votes
+ -
I think you did.
seanferd 15th Aug 2009
Perhaps it wasn't the entire focus of the article, but I thought you had shared methods for generating memorable passwords previously.
0 Votes
+ -
Hmmm.
apotheon 15th Aug 2009
I might have, but I don't really recall. I only hope my articles are more memorable to others than my passwords -- and that my articles are more memorable to others than they are to me, too.
0 Votes
+ -
nice
Neon Samurai 13th Aug 2009
I'm of the opinion that "show password" should be an available option but not selected by default. This is a very nice opt-in trick for website logins.
0 Votes
+ -
Ah ha
The 'G-Man.' 13th Aug 2009
it was the caretaker all along!
The "Unhide Passwords" plug-in will do this. It can be enabled or disabled by double-clicking the prompt. It works on most sites. I run it at the house and on my work desktop, but not on servers or laptops.
0 Votes
+ -
A bit of improvement
Midas7g Updated - 14th Aug 2009
So it's kind of a hack (only works if the password field has an id='password') but here's the same script that now toggles masking and unmasking.

var pswd = document.getElementById('password');
if (pswd.type.toLowerCase() == 'text')
{
var test = pswd.type = 'password';
}else {
var els = document.getElementsByTagName('input');
for(var x = 0; x els.length; x++)
{
if(els[x].type.toLowerCase() == 'password' )
{
var test = els[x].type = 'text';
}
}
}

Do the same thing as the article; put javascript: in front of it and make it a one-liner.
Thanks for posting that enhancement of the script. This could be particularly handy for people who want to include a password unmasking link on a Webpage.
0 Votes
+ -
Contributr
It's always good to see new faces avatars.
0 Votes
+ -
Failed on gmail -- improvement 2
Glenn L. Updated - 19th Aug 2009
This is bit longer but more generic and should toggle back any field that has been revealed:


var els = d ocument.getElementsByTagName('input');
for(var x = 0; x els.length; x++) {
if(els[x].hasAttribute("type") &&
els[x].getAttribute("type").toLowerCase() == "password") {
var test = els[x].value;
els[x].type = "text";
els[x].value = test;
els[x].setAttribute("newtype", 1);
}else {
if(els[x].hasAttribute("newtype") &&
els[x].getAttribute("newtype") == 1) {
var test = els[x].value;
els[x].type = "password";
els[x].value = test;
els[x].removeAttribute("newtype");
}
}
}

0 Votes
+ -
code tags
apotheon Updated - 18th Aug 2009
Use code and pre tags:

<code><pre>
insert code here
</code></pre>
0 Votes
+ -
The place I think this is most useful is in your router when setting your WPA password/key!
0 Votes
+ -
I usually read my 20 char passphrase from the router so it's important to unmask it on the AP and mobile device so I can confirm it's correct.
0 Votes
+ -
Unmasking
jackie_d 20th May 2011
This is some great information. This idea of using javascript to unmask passwords will really be a big help as I go about doing web page design for clients. Thanks for the info.
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.