Open
Bug 695133
Opened 14 years ago
Updated 3 years ago
if mouse hover - show password
Categories
(Firefox :: General, enhancement)
Tracking
()
NEW
People
(Reporter: northtech, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111011182523
Steps to reproduce:
Propose to build such functionality in default firefox.
Expected results:
Behavior can be done like this:
// ==UserScript==
// @name Password Revealer
// @namespace http://userscripts.org/users/23652
// @description Shows passwords on mouse hover or focus
// @include http://*
// @include https://*
// @include file:*
// @copyright JoeSimmons
// @version 1.0.3
// @license Creative Commons Attribution-Noncommercial 3.0 United States License
// ==/UserScript==
var show_only_on_click = false; // Only show passwords when you click on the field
function text() {
this.type = "text";
}
function password() {
this.type = "password";
}
function addHandlers() {
var dp = document.evaluate("//input[@type='password']",document,null,6,null);
for(var i=dp.snapshotLength-1,DP; (DP=dp.snapshotItem(i)); i--) {
if(!show_only_on_click) {
DP.addEventListener("mouseover", text, false);
DP.addEventListener("mouseout", password, false);
} else {
DP.addEventListener("focus", text, false);
DP.addEventListener("blur", password, false);
}
}
}
addHandlers();
Updated•14 years ago
|
Severity: normal → enhancement
Wouldn't this be a security/privacy problem? Anybody walking along the PC could view passwords on your open sites and also on sites where the password manager prefills the passwords for you. Should FF ask for the master password first?
Status: UNCONFIRMED → NEW
Component: General → Layout: Form Controls
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → layout.form-controls
Version: unspecified → Trunk
Well, I still think that should be in unsafe places to work in private mode and not to leave the PC without locking it. And perhaps before you enter the password, it is necessary to verify the absence of extra eyes :)
>>Should FF ask for the master password first?
Not necessarily.
--
sorry for my language.
Comment 4•14 years ago
|
||
This has nothing to do with core form control layout. It's a pure UI feature.
Component: Layout: Form Controls → General
Product: Core → Firefox
QA Contact: layout.form-controls → general
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•