Please add export functionality for history etc Rated 5 out of 5 stars

My places.sqlite is corrupt and is being replaced on restart - BUT I can see my history in the awesome bar (and link color) *and* my bookmarks (bookmarks toolbar and all) - what I can't see is the show all history/bookmarks - shows empty - what I need is to be able to export all things saved in my places file and then having them re-imported. There should be such a functionality - there is only for bookmarks (actually I can only export an html not a json) but that's not enough.
> Statistics
Database size is 10240 KiB
user_version is 11
page_size is 32768
cache_size is 11779
journal_mode is wal
synchronous is 1
History can store a maximum of 999999999 unique pages
Table moz_places has 13751 records
Table moz_historyvisits has 22176 records
Table moz_inputhistory has 68 records
Table moz_bookmarks has 1206 records
Table moz_bookmarks_roots has 5 records
Table moz_keywords has 3 records
Table sqlite_sequence has 1 records
Table moz_favicons has 858 records
Table moz_annos has 62 records
Table moz_anno_attributes has 13 records
Table moz_items_annos has 62 records
Table sqlite_stat1 has 1 records
Index sqlite_autoindex_moz_inputhistory_1
Index sqlite_autoindex_moz_bookmarks_roots_1
Index sqlite_autoindex_moz_keywords_1
Index sqlite_autoindex_moz_favicons_1
Index sqlite_autoindex_moz_anno_attributes_1
Index moz_places_faviconindex
Index moz_places_hostindex
Index moz_places_visitcount
Index moz_places_frecencyindex
Index moz_places_lastvisitdateindex
Index moz_historyvisits_placedateindex
Index moz_historyvisits_fromindex
Index moz_historyvisits_dateindex
Index moz_bookmarks_itemindex
Index moz_bookmarks_parentindex
Index moz_bookmarks_itemlastmodifiedindex
Index moz_places_url_uniqueindex
Index moz_places_guid_uniqueindex
Index moz_bookmarks_guid_uniqueindex
Index moz_annos_placeattributeindex
Index moz_items_annos_itemattributeindex
Trigger moz_bookmarks_beforedelete_v1_trigger

EDITED and does not see the \r\n anymore...

This review is for a previous version of the add-on (1.0.1-signed).