Skip to content

Is there ANY way to restore Folders & Tabs structure from the "Tree Tabs" extension? #1196

Closed Answered by mbnuqw
JohnVKRDam asked this question in Q&A
Discussion options

You must be logged in to vote

There is no simple way to import TT (Tree Tabs) data into sidebery and it will be probably faster to manually restucture it. But, you can try to form a Sidebery snapshot (in JSON) from TT data and import it (Sidebery settings / Snapshots viewer / Import snapshot). To get the TT data open about:addons, click on gear icon, click on Debug Add-ons, find Tree Tabs and click on Inspect, open multi-line console (ctrl+shift+K, ctrl+B).

(async () => {
  const windows = await browser.windows.getAll({ populate: true })

  for (const win of windows) {
    const ttWinData = await browser.sessions.getWindowValue(win.id, 'TTdata')
    console.log(ttWinData)
    
    for (const tab of win.tabs) {
      c…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JohnVKRDam
Comment options

Answer selected by JohnVKRDam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants