You are not logged in.

#1 2013-01-05 19:58:31

RufusD
Member
Registered: 2010-03-21
Posts: 86

how to make firefox store bookmarks in ordinary file?

Hi there!
Is there a way to have firefox store my bookmarks to a user-specified file? I want to setup a kind of sync regime, but without The Cloud. Since the only two computers I'm running firefox on will never leave my LAN, I'm hoping there's an easier solution. E.g., I'm using the server's sshfs 'share' to access ics files from both the server and the notebook. So what I'm looking for basically is: a hidden option (or maybe add-on) that I can use to tell firefox to store my bookmarks in some file.

Is this somehow comprehensible? Any ideas anyone?

Best wishes,
Rufus

Offline

#2 2013-01-05 21:21:12

n6yga
Member
Registered: 2009-11-06
Posts: 3

Re: how to make firefox store bookmarks in ordinary file?

You would probably have to write a plug-in to do what you want.

My $.02

Mark.

Offline

#3 2013-01-05 21:47:34

bdalenoord
Member
Registered: 2012-06-14
Posts: 25

Re: how to make firefox store bookmarks in ordinary file?

Firefox saves bookmarks to an SQLite-file in your profiles directory. Read more about where and how to find them here...

Hope this helps...

Offline

#4 2013-01-06 05:46:03

x33a
Forum Moderator
Registered: 2009-08-15
Posts: 3,535
Website

Re: how to make firefox store bookmarks in ordinary file?

Firefox can actually export bookmarks to html and json formats. Just open the bookmarks menu, click on export, and you are done.

Offline

#5 2013-01-06 08:22:39

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,810
Website

Re: how to make firefox store bookmarks in ordinary file?

about:config -> browser.bookmarks.autoExportHTML = true

That will dump bookmarks in a file named ~/.mozilla/firefox/<profile>/bookmarks.html whenever you close the browser. If I remember correctly, that file will be autoloaded if network.cookie.prefsMigrated is set to false at startup. The option is then changed to true, so you will need to reset it each time or add it to user.js to override prefs.js.

You may need to rearrange the bookmarks each time as well, as I think it just appends the file contents to the end of the list. It also annoyingly regenerates the default bookmarks even if you don't want them.

I know all this and more because I have struggled many times with Firefox and bookmark synchronization. It's even more painful if you want to share just a subset of common bookmarks between different accounts. I have nasty scripts that help but it still annoys me to no end. As soon as one of the webkit-based browsers acquires full support for emulating my key Firefox plugins, I am going to switch with a huge smile on my face (it's primarily Request Policy emulation that's lacking, if anyone is wondering).

Last edited by Xyne (2013-01-06 08:23:53)

Offline

#6 2013-01-07 02:23:16

ConnorBehan
Trusted User (TU)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,357
Website

Re: how to make firefox store bookmarks in ordinary file?

I'm sure it's very lacking compared to Request Policy but making custom Adblock rules blocking anything from {facebook.com, facebook.net, fbcdn.net} unless the domain is facebook.com got rid of a lot of cross-site requests that were slowing me down.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#7 2013-09-21 10:20:22

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 5,810
Website

Re: how to make firefox store bookmarks in ordinary file?

Offline

Board footer

Powered by FluxBB