Skip to content

A simple browser script that helps exporting saved OneTab meta data

License

Notifications You must be signed in to change notification settings

dpschen/onetab-export-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

OneTab browser export script

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  
  },
  [...]
]

Usage

  1. Copy the content of 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 which exports directly from the LevelDB database. I didn't test it though.

About

A simple browser script that helps exporting saved OneTab meta data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published