No good reason why this had to be so tricky:
- Install Export Chrome History extension in Arc
- Export history to JSON. Choosing the forever option does actually export ALL the history in Arc
- Install History Export for firefox
- Optional: Export Firefox history, to see what the json looks like
- Make the Arc history match what firefox expects. I used this javascript to convert it:
arcHistory.map(item => {
return {
id: item.id,
url: item.url,
title: item.title,
lastVisitTime: Math.floor(item.lastVisitTime),
visitCount: item.visitCount,
}
})
- Not much conversion required, but still, I didn't want firefox to crash because there was extra data, or floating point timestamps
- Import the resulting json file using History Export
It wouldn't work for me without converting the JSON. Here is a complete script for converting the
history.json
.