I rely heavily on Org Protocol1 to save Firefox bookmarks to a plain text file.
I recently encountered a bug where Emacs simply stopped capturing the links, and that even when the instance was previously working fine.
I don’t know the protocol enough to debug the problem, but I found that restarting the Emacs server solved the problem.
So here is a code snippet you can call if that happen:
defun server-restart ()
("Restart Emacs server"
(interactive)
(server-force-delete)load "server")
(unless (server-running-p) (server-start))) (
If you are like me, the type of person that tend to have a hard time handling your browser bookmarks, while having hundreds of tabs open, I encourage you to look into this solution. It can take a little bit of time to setup depending your OS and browser, but in the end you get a solution that support tags, is easily “grep-able” (plaintext!), and that you can even interface with something more powerful like Org Roam.↩︎