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
Thanks for this. I just did a regex search and replace to get rid of the decimal points in the
visitTime
andlastVisitTime
values of the original file, which also worked.