Firefox – How to Remove Large Number of Entries from URL History

firefoxhistory

I want to remove large number of urls from my page history – they all match simple regexp, but there is a lot of them – doing this by "delete" in suggestion box is not an option. And when I bring history tab, whenever I click on item, it automatically opens – so I can't remove there anyway.

I heard that these urls are somewhere stored in sqllite format. Where exactly? Can I connect there and remove it from there (of course with Firefox not running)?

Best Answer

Seems you are right. In my Firefox profile directory, there is a filed named places.sqlite. Opening it with sqlite reveals (amongst others) the tables moz_places and moz_historyvisits. It seems that moz_historyvisits uses the primary of moz_places to refer to the URLs.

I suggest you back up that file before you start deleting.

Related Question