You are here

1 Bookmark File for Multiple FF?

3 posts / 0 new
Last post
Strathy
Offline
Last seen: 17 years 5 months ago
Joined: 2006-03-19 21:20
1 Bookmark File for Multiple FF?

I run PortableFF as well as Torpark from my USB. I want to use the same bookmark file so that my bookmarks are up to date no matter which program I run. I tried pointing the PFF profile to the Torpark profile using .ini which worked but it also changed my settings to the Torpark proxy settings. I don't want that. Is there a way to point PFF to only the bookmark portion of the profile in Torpark?

Thanks.

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 25 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not easily

FF needs a profile that's all in one place. You could copy them from one to the other... possibly with a batch file to automate it.

Or you could use the delicious extension or something like that to put your bookmarks on a server somewhere.

Sometimes, the impossible can become possible, if you're awesome!

tittoproject
tittoproject's picture
Offline
Last seen: 5 years 3 months ago
Joined: 2005-12-09 12:23
Write to prefs.js

A possible solution is to change the path of the bookmarks file to use, so, you can use a single file for defferent profiles.
You can do it by writing this line in the prefs.js (in the profile folder):

user_pref("browser.bookmarks.file", "X:\Path\bookmarks.html");

Obviously, you have to write the FULL path (complete of drive letter) and you easily do it with a batch file made like that:

@echo off
:: This batch writes a line at the end of prefs.js
:: before starting the portable Firefox launcher
::
set BOOKMARK_FILE=%cd%\TorPark\Profile\bookmarks.html
:: The path of Torpark's bookmarks file
set MOZ_PROFILE=%cd%\PortableFirefox\Profile
:: The path of PortableFirefox's profile
set PFF_LAUNCHER=%cd%\PortableFirefox\PortableFirefox.exe
::
echo user_pref("browser.bookmarks.file", "%BOOKMARK_FILE%"); >> "%MOZ_PROFILE%\prefs.js"
start "%PFF_LAUNCHER%"

%cd% is a variable that means "Current Directory" (within the batch). Unfotunately, the %cd% variable doesn't works on Win98/ME, but I think is not difficult to made an .exe or a script.

Topic locked