Firefox Direct Bookmark Access [SOLVED]

If it's not about a problem in the program
Post Reply
henryg
Posts: 520
Joined: Wed Nov 22, 2006 9:38 am

Firefox Direct Bookmark Access [SOLVED]

Post by henryg » Sat Mar 24, 2018 11:28 am

I have now allowed direct access, but changes I make to bookmarks when FF is sandboxed do not change the original file (places.sqlite?).

I see the template includes:
OpenFilePath=firefox.exe,%Tmpl.Firefox%\bookmark*
OpenFilePath=firefox.exe,%Tmpl.Firefox%\places*
OpenFilePath=firefox.exe,%Tmpl.Firefox%\favicons.sqlite

but where does %Tmpl.Firefox% resolve to, as my profile directory in not in the standard location but at D:\Documents\Firefox\default2?

Regards


Henry
Henry

APMichael
Posts: 152
Joined: Sun Sep 07, 2014 5:54 am
Location: Germany

Re: Firefox Direct Bookmark Access

Post by APMichael » Sat Mar 24, 2018 12:24 pm

You can check the Templates.ini file for the variables:
[TemplateSettings]
...
Tmpl.Firefox=%AppData%\Mozilla\Firefox\Profiles\*
If you have changed the default path of the Firefox profiles, you can override the variable. Just add to your Sandboxie.ini:

Code: Select all

Ovr.Tmpl.Firefox=D:\Documents\Firefox\default2\
More information: https://www.sandboxie.com/ExpandableVariables (section "Overriding Variables").

Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Re: Firefox Direct Bookmark Access

Post by Guest10 » Sat Mar 24, 2018 2:59 pm

The method that is built into Sandbox Settings to specify an alternate profile folder location is:

Open Sandboxie Control's window; right-click the sandbox that you will use; click on Sandbox Settings.
Navigate to Applications > Web Browser > Firefox in the left-hand pane.
"Click on "Allow direct access to Firefox bookmark and history database", then click "Add", then click "Apply".
(You have probably already done that)

In the left-hand pane, scroll down to and click on "Folders".
You should see "Select folder for" ... Firefox
For an alternate folder location, click on the "Add" button
Navigate to and select your "D:\Documents\Firefox\default2" folder.
When you see that listed under "Alternate location", OK your way out.

This will add a new section to your sandboxie.ini file:
[TemplateSettings]

Tmpl.Firefox.(your username here)=D:\Documents\Firefox\default2

"(your username here)" in the above line will be replaced with whatever is listed as "SbieCtrl_UserName" underneath the [UserSettings_xxxxxxx] section in your sandboxie.ini file.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

henryg
Posts: 520
Joined: Wed Nov 22, 2006 9:38 am

Re: Firefox Direct Bookmark Access [SOLVED]

Post by henryg » Mon Mar 26, 2018 5:00 am

I chose to edit sandboxie.ini directly and use Ovr.Tmpl.Firefox=D:\Documents\Firefox\default2\ as I think the "Ovr" part will remind me in future why it is necessary.

Thank you for the link to "Expandable Variables" which I did read, but somwhow I doubt I will remember when it happens again. Why does Sandboxie have to hard-wire installation location settings rather than getting them from Windows [rhetorical]? Pretty much guaranteed to cause problems IMO, but then I'm not a programmer.

Working now as expected. Thank you both for your help. :D
Henry

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest