Closed Bug 154825 Opened 22 years ago Closed 22 years ago

pref to override autocomplete=off for non-encrypted case

Categories

(SeaMonkey :: Passwords & Permissions, enhancement, P3)

x86
Windows NT
enhancement

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.3alpha

People

(Reporter: morse, Assigned: morse)

References

Details

Attachments

(1 file, 1 obsolete file)

Currently there is a stealth pref that allows overriding the site's ability to 
opt out of using the password manager (by using autocomplete=off).  See bug 
124065 for details.

But that pref works only if passwords are being saved encrypted.  This request 
is to have a pref that works even if the passwords are not being saved 
encrypted.

This is what I thought bug 145797 was asking for, but now the reporter has 
clarified that that was not his intention.  Hence this new bug report.
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.2alpha
You can get a bookmarklet that will alter the html of any page to remove the
autocomplete=off property.  Mozilla will then happily remember the password for you.

javascript:(function(){var ca,cea,cs,df,dfe,i,j,x,y;function n(i,what){return
i+"
"+what+((i==1)?"":"s")}ca=cea=cs=0;df=document.forms;for(i=0;i<df.length;++i){x=df[i];dfe=x.elements;if(x.onsubmit){x.onsubmit="";++cs;}if(x.attributes["autocomplete"]){x.attributes["autocomplete"].value="on";++ca;}for(j=0;j<dfe.length;++j){y=dfe[j];if(y.attributes["autocomplete"]){y.attributes["autocomplete"].value="on";++cea;}}}alert("Removed
autocomplete=off from "+n(ca,"form")+" and from "+n(cea,"form element")+", and
removed onsubmit from "+n(cs,"form")+". After you type your password and submit
the form, the browser will offer to remember your password.")})();

I got this from: http://www.squarefree.com/bookmarklets/forms.html
Target Milestone: mozilla1.2alpha → mozilla1.3alpha
Comment on attachment 101481 [details] [diff] [review]
use same pref as for encrypted case

r=mstoltz.
Attachment #101481 - Flags: review+
Attachment #101481 - Attachment is obsolete: true
Comment on attachment 101527 [details] [diff] [review]
Fix previous patch so it works.

carrying forward r=mstoltz
Attachment #101527 - Flags: review+
Comment on attachment 101527 [details] [diff] [review]
Fix previous patch so it works.

sr=dveditz
Attachment #101527 - Flags: superreview+
checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
Blocks: 443161
Depends on: 124065
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: