If I'm researching something, I'll open more than 200 tabs. With Tree Style Tabs, each Google or Kagi search is a top-level tab, and each link I open from that gets opened in a sub tab. When I'm done, I'll store the useful tabs organized in an org-mode file - I have an Emacs script which grabs the currently-open tab URL and Title from Mozilla's sqlite database and adds them in org-mode link format to the current document (I can post it if anyone wants it). I can then close all that mess.
(defun ff-link-org ()
(interactive)
(insert (shell-command-to-string "lz4jsoncat $FIREFOX_DIR/sessionstore-backups/recovery.jsonlz4 | jq -r '.windows[0].tabs | sort_by(.lastAccessed)[-1] | .entries[.index-1] | \"[[\" + (.url) + \"][\" + (.title) + \"]]\"' | tr -d '\n'"))
)
(defun ff-link-org-xdotool ()
"Get Firefox link in Org mode format"
(interactive)
(shell-command "xdotool search 'Navigator' windowactivate --sync key --clearmodifiers Escape y o ; xdotool keydown alt key Tab ; xdotool keyup alt")
)
(global-set-key (kbd "C-c f") 'ff-link-org)
I misremembered, once the data was in an SQLite database but now it's easier to grab from the sessionstore backup file - it's compressed JSON. I then query it with jq and trim the newline - here's that part isolated with the format changed to provide a markdown-formated link: lz4jsoncat $FIREFOX_DIR/sessionstore-backups/recovery.jsonlz4 | jq -r '.windows[0].tabs | sort_by(.lastAccessed)[-1] | .entries[.index-1] | \"(\" + (.title) + \")[\" + (.url) + \"]\"' | tr -d '\n'
By the way, I'm a longtime VIM user but have recently been converting all my notes to org-mode. Emacs with Evil is a good-enough VIM replacement for notes taking, and the org-mode format is absolutely terrific.For work, tabs are my way of not losing information someone sent during a meeting or something. I click the link in the meeting chat and then go back later. I use a tab manager to sort them by domain, so all the wiki pages end up together, all the quip docs, etc.
Then every few months I go through all the tabs and either read them, bookmark them, or discard them.
Sideberry for vertical tabs - Horizontal tabs make zero sense.
Titler for window titles and then different windows (7-10) for general categories.
The lame issues:
Sidebery doesn't recognize the window titles so moving tabs between windows is a pain.
The fact that vertical tabs are not the firefox default and that FF makes it so difficult to remove the horizontal tabs.