There are a few websites that really piss me off – in that I cannot get Firefox to remember my username/password on them. Ok, I understand why they’ve taken steps to prevent one from doing so, but, as I’m quite confident that I’ve secured my saved passwords, it pisses me off.
Anyway, here’s how to fix the ‘problem’.
1. Locate Firefox’s installation folder. Normally that’s C:\Program Files\Mozilla Firefox
2. Navigate to the components folder.
3. Open nsLoginManager.js in an editor. As Notepad won’t do really, do this instead [if you've a proper editor, just go to step 4]:
3a) Select Start | Run
3b) Enter cmd <enter or Ok>
3c) type cd C:\Program Files\Mozilla Firefox\components <enter>
3d) type edit nsLoginManager.js <enter>
3e) Go to step 4.
4. Find this:
/*
* _isAutoCompleteDisabled
*
* Returns true if the page requests autocomplete be disabled for the
* specified form input.
*/
_isAutocompleteDisabled : function (element) {
if (element && element.hasAttribute("autocomplete") &&
element.getAttribute("autocomplete").toLowerCase() == "off")
return true;
return false;
},
5. Change it to this:
/*
* _isAutoCompleteDisabled
*
* Returns true if the page requests autocomplete be disabled for the
* specified form input.
*/
_isAutocompleteDisabled : function (element) {
return false;
},
6. Save the file [if you're following the 3x) steps above, select File | Exit, and when asked if you want to save the edited file, answer Yes. To close the command prompt, enter exit <enter>].
Note that you might first have to change the file’s security permissions to do this [you DO if the save fails]. E.g., in Vista I had to A) right-click on the file [e.g., in Explorer] B) select Properties | Security. B) select Edit. C) select your username, D) change the persmissions to include Write access.
And you’re done – either start, or close/re-start Firefox!
n.b. If you want to know ‘why’ this works, see http://www.w3schools.com/tags/html5_input.asp – then autocomplete, disabled
Basically, by making these changes you’re saying that any element may be ‘auto completed’; so if an input field on a page includes <input autocomplete=”off” … />, when Firefox checks, the field will appear to be marked autocomplete=”on” instead.
For ages, at every boot, I’ve run a small program called TempClean: all this really does is to clear my Temp folder of stuff that’s left over by programs that don’t clear up after themselves [like a man]. Ok, so it does a little bit more than that [unlike a man] – but that’s its main function.
Anyway, I’d be really interested in knowing how much litter [unwanted files] you have on your Windows machine, and so rather than ask you run the real TempClean [it doesn't have an installer - just save it somewhere and run it!] – which you might be unsure/wary off – here’s a small VBScript ‘script’ so that you can find 0ut for yourself. BTW, this doesn’t remove anything!
Here’s the code:
dim fso
dim fld
dim fle
dim l
set fso = CreateObject("Scripting.FileSystemObject")
set fld = fso.GetSpecialFolder(2)
wscript.echo "Your Temp folder is set to: " & fld.path
sub walk(fld)
wscript.echo vbCrLf & "Looking in: " & fld.path
if fld.files.Count > 0 then
for each fle in fld.files
wscript.echo vbTab & "Found: " & fle.name
l = l + fle.size
next
else
wscript.echo vbTab & "No files found"
end if
for each fld in fld.SubFolders
walk(fld)
next
end sub
walk(fld)
wscript.echo vbCrLf & "The total bytes taken up by your temp files is: " & l
All you need to do to run this is:
- copy ‘n paste it into Notepad [or just download it here];
- save it as, say, tempfiles.vbs;
- run it from a Command Prompt [I'll assume you know how to open a Command Prompt, unlike a woman, to quote Colin Hay "or a woman, if you are one" ... ask a man"].
For example, if I’d saved it to my root folder on C, I’d run it like this, in a DOS/Command prompt:
C:\cscript tempfiles.vbs

BTW, cscript is a Microsoft VBScript interpreter that you’ll almost certainly have on your machine already.
Note again that running this script doesn’t remove anything – it just reports what you’ve got hanging around, and that’s taking up space unnecessarily. And, on that last bit, you might like to output the results of running this to a file – else the output might disappear off the top, never to reappear!
You could do that like this:
C:\cscript tempfiles.vbs > dump.txt
The > redirects the output into a file call dump.txt. So you can then open dump.txt in Notepad and have a look at what you’ve got hanging around – which you might find A) interesting, and B) a lot!!
BTW, if you’d like to remove these temporary files, you can just add either these two lines after the l = l + fle.size, e.g.
l = l + fle.size
on error resume next
fso.deletefile fle
Or, if you want to do a proper job [like a woman], download and run the real program [link to TempClean above].
Please post up your results, from whichever method, and in summary preferably!
Just pondered how many shares I’d have to sell to pay for one term’s worth of schooling for my son. Roughly 80,000.
The depressing bit is that when these were ‘new’, the same amount would have raised enough to have bought me a new Ferrari!
Some things in life are truly not very fair!!!

BUT, at least – AT LEAST I was a millionaire once. And I *could* do it again – I’m sure. But, do you know what, I don’t want to or need to – a very much stress-free and life with Harriet is enough for me … actually, for anyone who might have Harriet for a partner – well – it should, really should fullfill their dreams.
Been playing around with Eclipse today.
It’s been a long time since I last used it, and I’m pretty pleased with all the improvements that have been made to it since I last looked.
However, that said, I did spend about an hour trying to resolve an error in a simple ‘Hello World’ type C project. The error was:
/mingw/lib/libmingw32.a … undefined reference to `WinMain@16′
The test file was simply:
#include
int main(void)
{
puts(“Boo”);
return 0;
}
I googled for the solution [as you do], and tried all manner of things suggested, including having to add libraries and linker/compiler flags. Nothing helped.
However, in playing around, I noticed that I hadn’t saved my source file; test.c file. Surely it can’t be anything as silly as not doing that? Surely the Eclipse IDE will automagically save my file before running the compiler?
You’ve guessed the answer already haven’t you! Yup, on saving the file, and THEN selecting Project | Build All, everything worked! Duh!
P.S. the above applies to version: 3.4.2 Build id: M20090211-1700. And with MinGW installed.
So nice to find a local company run by the good guys these days – http://www.challengemc.com