Using Places in Firefox for exporting browser history

Ages ago I wrote a post bringing light to a bookmarklet attached to a bug in Mozilla’s Bugzilla which allows you to export your Firefox history to a text file. According to Google Analytics, it’s far and away my most popular post, but the code doesn’t work in Firefox 1.5.

People have been commenting on the post and sending me mail asking for an updated version which works in 1.5, which I keep meaning to look at doing, but the new Places bookmarking and history system based on SQLlite has just been enabled in the Firefox nightlies.

This means not only a new way of storing the data, but new ways of querying it, either via Mozilla like we do at the moment but with a new API or by a third-party application so long as it can understand SQLlite, and there are plenty of bindings to do this.

So this should mean that Firefox 1.6 has an entirely new backend for history and bookmarks, at which point writing new code to export the history should be very easy, and I’ll do it then (if someone hasn’t already beaten me to it).

Published by

2 thoughts on “Using Places in Firefox for exporting browser history”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.