#1 05 Jun 2015 21:57

hllsen
New Member
Registered: 05 Jun 2015
Posts: 1

Suggestion for the password generator

I have updated my local copy of the password generator as follows, so that even if I forgot to delete my master password, "show password" will reset the password box. I thought you may like it.

Thank you for this wonderful website by the way.

Cheers,
Halil

function revealPassword(reveal) {
    if(reveal) {
	+	document.getElementById('main').value='';
	+	document.getElementById('maintext').value='';
	+	setvals(); //This is not necessary
        document.getElementById('main').style.display = 'none';
        document.getElementById('maintext').style.display = 'inline';
    } else {
        document.getElementById('maintext').style.display = 'none';
        document.getElementById('main').style.display = 'inline';
    }
}

Offline

Board footer

Powered by FluxBB