Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpschen/onetab-export-script
A simple browser script that helps exporting saved OneTab meta data
https://github.com/dpschen/onetab-export-script
Last synced: 4 months ago
JSON representation
A simple browser script that helps exporting saved OneTab meta data
- Host: GitHub
- URL: https://github.com/dpschen/onetab-export-script
- Owner: dpschen
- License: mit
- Created: 2021-09-28T11:20:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-28T11:47:20.000Z (over 3 years ago)
- Last Synced: 2024-08-01T16:45:05.186Z (7 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OneTab browser export script
A simple browser console script that helps exporting saved [OneTab](https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall) meta data.
I was trying out [backupOneTab](https://github.com/itsjoshthedeveloper/backupOneTab) and [ran into some problems](https://github.com/itsjoshthedeveloper/backupOneTab/issues/1).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:```js
[
{
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
},
[...]
]
```## Usage
1) Copy the content of [export.js](export.js) to the clipboard.
2) Open a OneTab page in the browser.
3) Open the Developer Tools (e.g. mac CMD + ALT + I).
4) 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.
## Note
After I already created this I found [onetab-export-to-json](https://github.com/jianyuan/onetab-export-to-json) which exports directly from the LevelDB database.
I didn't test it though.