Page 1 of 1

CSS p/w manager question

Posted: Sat Jul 16, 2011 10:06 pm
by Tõnis
I'm trying to use p/w manager with IE. It's working pretty well for most sites, but I'm having trouble getting it to auto fill some sites. So far it's been the secure (https) sites that won't auto fill even though I have the boxes checked. Are there any steps I'm missing or does it simply not work with secure sites? TIA.

Re: CSS p/w manager question

Posted: Sun Jul 17, 2011 12:25 am
by Tõnis
UPDATE

It's not all secure sites. I've been able to get a few of them to take. So far not playing well with p/w manager:

hotmail log in
msn messenger
vBulletin forums
my cellphone carrier's BlackBerry Internet Service account site

:|

Re: CSS p/w manager question

Posted: Wed Jul 20, 2011 4:42 am
by ozzymud
Some sites use a hidden field to purposefully not remember form fields, you can use a bookmarklet to remove this "protection"...

Make a new bookmark in IE on your bookmark bar, rename it "Save Passwords", enter the fllowing as the address (click yes to protocol error), then when you are at the page for entering your password, click the bookmarklet, It will tell you if it removed any "Autocomplete=off" form fileds... this fixes most normal forms.

Save pass bookmarklet for IE

Code: Select all

javascript:(function(){var%20ac,c,f,fa,fe,fea,x,y,z;ac="autocomplete";c=0;f=document.forms;for(x=0;x<f.length;x++){fa=f[x].attributes;for(y=0;y<fa.length;y++){if(fa[y].name.toLowerCase()==ac){fa[y].value="on";c++;}}fe=f[x].elements;for(y=0;y<fe.length;y++){fea=fe[y].attributes;for(z=0;z<fea.length;z++){if(fea[z].name.toLowerCase()==ac){fea[z].value="on";c++;}}}}alert("Enabled%20'"+ac+"'%20on%20"+c+"%20objects.");})();
Step by step:
In IE put "about:blank" in the address bar, hit enter... you'll see... a blank page :P
drag the icon from next to the adress bar to your links toolbar.
right click the new bookmark and choose properties
change the name to "Save Passwords" or anything you can remember... savepass, whatever
change the address to the above code
test.. goto https://paypal.com/
click the bookmarklet while on paypals site.

Success if it shows it enabled autocomplete on 3 objects.
https://login.live.com/ = 2 fields

This will work on most normal forms, there are other tricks websites can use like having an extra hidden password field, or using javascript forms (verified by visa is one). But this works for most I have come across.

here is the bookmarklet code for Firefox for anyone else reading this...

Code: Select all

javascript:(function(){var%20ca,cea,cs,df,dfe,i,j,x,y;function%20n(i,what){return%20i+%22%20%22+what+((i==1)?%22%22:%22s%22)}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=%22%22;++cs;}if(x.attributes[%22autocomplete%22]){x.attributes[%22autocomplete%22].value=%22on%22;++ca;}for(j=0;j<dfe.length;++j){y=dfe[j];if(y.attributes[%22autocomplete%22]){y.attributes[%22autocomplete%22].value=%22on%22;++cea;}}}alert(%22Removed%20autocomplete=off%20from%20%22+n(ca,%22form%22)+%22%20and%20from%20%22+n(cea,%22form%20element%22)+%22,%20and%20removed%20onsubmit%20from%20%22+n(cs,%22form%22)+%22.%20After%20you%20type%20your%20password%20and%20submit%20the%20form,%20the%20browser%20will%20offer%20to%20remember%20your%20password.%22)})();
Hope this helps.

P.S. google for bookmarklets, these little things RULE :P


Also checked https://www.vbulletin.com/forum/ ... IE bookmarklet doesnt handle the 1 "onsubmit", but the Firefox bookmarklet I use let me save a password :) Maybe you caqn find one that works in IE for those "onsubmit" sites.

Re: CSS p/w manager question

Posted: Wed Jul 20, 2011 12:28 pm
by Tõnis
Thank you for all of this, Ozzymud, especially for including the step-by-step. I'll give it a try!