A simple browser console script that helps exporting saved OneTab meta data. I was trying out backupOneTab and ran into some problems.
Because I wanted my urls to be at least saved I wrote this script. It exports more than the default export function of OneTab. You will get an array with the following format:
[
{
groupTitle, // tab group titles
created, // created date
tabLinks: { // the individual links of a tab group with:
{
link, // url
title, // title
}
},
isLocked, // if tab group is locked
isStarred, // if tab group is starred
},
[...]
]
- Copy the content of export.js to the clipboard.
- Open a OneTab page in the browser.
- Open the Developer Tools (e.g. mac CMD + ALT + I).
- Paste the export.js script.
You will see the result of the export as a return value. It's already copied in your clipboard so you can you paste it e.g. in a JSON file.
After I already created this I found onetab-export-to-json which exports directly from the LevelDB database. I didn't test it though.