Live data from Hacker News

TabFS: Mount your Browser Tabs as a Filesystem

omar.website

131–140 of 242 posts

Re: TabFS: Mount your Browser Tabs as a Filesystem

#131
post #46

Earlier quoted context omitted.

Same here, currently sitting at 300 tabs ( Lost about 800 a few weeks ago from Safari crash again ). I just wish the Show All tabs on Safari put up a list of tabs so I could quickly navigate through them ( and selectively close them ). Right now Show All Tabs Reloads all the tabs. That is the same on macOS and iOS. Your phone gets quite warm doing it.

Safari maintains a list of tabs in a plist. You can’t delete while Safari is running, but at least you can extract the list to back it up.

Yes. I immediately check that after it happened except the plist was empty.

Firefox used to have similar problem with their json so after a few bug report with them they fixed it with another json.bak as redundancy. ( The good days of Firefox )

Re: TabFS: Mount your Browser Tabs as a Filesystem

#132
post #91
post #57

Earlier quoted context omitted.

I think KDE still supports Konqueror, which implements things like this. It used to be KDE's file manager and web browser all in one app. I always found this to be quite logical. The underlying abstraction is called KIO. Unfortunately I have no KDE installation at hand, so I can't tell if dowloading all images of a webpage still works as easily. The Audio CD ripping feature should work without problems, though. Btw K…

KHTML came from kde before apple times

Wow i just learned that today Thanks btw and it’s sad how this did got very little attention

Re: TabFS: Mount your Browser Tabs as a Filesystem

#133

This is a brilliant piece of work. As someone who has thousands of tabs open, I've always wanted to "close all tabs with a single command", or view all the open tabs and mass select them and close, for years. Otherwise, going through them one by one and deleting takes forever. Now somebody make a vim pluggin so I can delete tabs by visual selecting a bunch of them and typing "d".

With vim's netrw plugin [0], I'm able to do this:

  $ cd ~/tmp/foo
  $ touch a b c d e
  $ vim .
Then select the file(s) you wish to delete, press D (must be capital "D"), confirm the deletion, and Bob's your uncle.

[0] https://www.vim.org/scripts/script.php?script_id=1075

Re: TabFS: Mount your Browser Tabs as a Filesystem

#134

This is a brilliant piece of work. As someone who has thousands of tabs open, I've always wanted to "close all tabs with a single command", or view all the open tabs and mass select them and close, for years. Otherwise, going through them one by one and deleting takes forever. Now somebody make a vim pluggin so I can delete tabs by visual selecting a bunch of them and typing "d".

It's a huge leap forward in browser management. Not exactly a replacement for headless browsing/scraping etc, but for personal use, nothing compares. A big contribution to the "personal data management" toolbox.

In the realm of tab management, I use this one liner in console of chrome://inspect every once in a while, then just close all of my tabs:

  collection = document.getElementById("pages").getElementsByClassName("subrow"); final_output_tsv = "title\turl\n"; for (let item of collection) {final_output_tsv += `${item.children[0].innerHTML}\t${item.children[1] ? item.children[1].innerHTML : "N/A"}\n`}; copy(final_output_tsv)
Substitute "devices" for "pages" to get android chrome tabs

This way I can backup all my tabs in simple, non-bookmark format and search them using python etc.

Re: TabFS: Mount your Browser Tabs as a Filesystem

#135
post #12

Earlier quoted context omitted.

>thousands of tabs open yeah about that, are you sure they are open and not hibernated? Chrome had proactive-tab-freeze-and-discard , later renamed to proactive-tab-freeze and finally forced On in 80 with no option of turning it off. 'hibernated' tabs are merely a bookmark without loaded content. I dont think this extension would be able to work with non loaded tabs without forcing them all to load. 300 tabs is able…

Using single process Firefox forks I often load in 500 tabs plus another 500+ suspended in under 4 GB. Of course I'm also running NoScript temp whitelist only and most sites are websites not web applications. But 1000 loaded tabs is certainly doable in way less than 16GB of ram if you don't use a multi-process browser. It's just a shame this is written as a chrome style extension (which modern FF supports) and not a…

You can use auto tab discard. I've done 1500 tabs on an 8GB windows machine.

Re: TabFS: Mount your Browser Tabs as a Filesystem

#136

Would be cool if it was compatible with Tree Style Tabs ;-) In fact, one feature I am missing in Tree Style Tabs is the ability to save a list of tabs as a text file to archive it and to open/import it at a later point in time again. Somehow TabFS feels like it could be used to achieve that.

It seems to be compatible with tree style tabs. I'm not sure how to import, but this seems to do a reasonable job of exporting: ls | xargs -I {} paste {}/url.txt {}/title.txt

Re: TabFS: Mount your Browser Tabs as a Filesystem

#137
post #91
post #57

Earlier quoted context omitted.

I think KDE still supports Konqueror, which implements things like this. It used to be KDE's file manager and web browser all in one app. I always found this to be quite logical. The underlying abstraction is called KIO. Unfortunately I have no KDE installation at hand, so I can't tell if dowloading all images of a webpage still works as easily. The Audio CD ripping feature should work without problems, though. Btw K…

KHTML came from kde before apple times

Oh, yeah, I meant to say that, but now I notice that I wasn't clear about this fact.

Re: TabFS: Mount your Browser Tabs as a Filesystem

#138
post #45

What is the tool used in the example where they select files and then delete them? https://omar.website/tabfs/doc/delete.mp4 Ah, I see now. It is called "dired". I wonder if it can be used standalone, without emacs.

You could always emacs --eval '(dired ".")' to immediately start emacs-dired in this directory :-)

Also:

    $ cat ~/bin/dired
    #!/bin/bash

    # Launch Dired in a plain Emacs configuration.

    # Arguments are passed to Emacs, e.g. "-nw" works as expected.

    emacs -q "$@" \
          --eval "(dired default-directory)" \
          --eval "(defun kill-window-or-emacs () (interactive) (if (one-window-p) (kill-emacs) (delete-window)))" \
          --eval "(setq dired-dwim-target t delete-by-moving-to-trash t)" \
          --eval "(define-key dired-mode-map (kbd \"q\") #'kill-window-or-emacs)"

Re: TabFS: Mount your Browser Tabs as a Filesystem

#139
post #122

This is a brilliant piece of work. As someone who has thousands of tabs open, I've always wanted to "close all tabs with a single command", or view all the open tabs and mass select them and close, for years. Otherwise, going through them one by one and deleting takes forever. Now somebody make a vim pluggin so I can delete tabs by visual selecting a bunch of them and typing "d".

I keep a few tabs open, and close the browser regularly. A friend of mine keeps basically infinity tabs open. I sort of rolled my eyes, but accepted his rare behavior. However as time has gone on, I've been surprised to find I may have the rare behavior and it is common for people to work this way. So.. maybe this is a way he can backup his "filesystem" and not suffer a nervous breakdown when his machine reboots or s…

Is having several tabs open in a browser rare? My social circle - which comprises mostly software engineers, admittedly - sees browsers with 30+ tabs open as normal.
Post reply on HN