In Firefox 3, bookmarks are automatically saved. The only problem is the way they are stored, as they are stored as places.sqlite, as opposed to saving them in HTML. You can change this easily however, by doing the following:
- In the address field, go to about:config
- Accept the warning
- Search for autoExportHTML, which should present you with browser.bookmarks.autoExportHTML
- Change this to true