How to recover Bookmarks in Firefox

Ideas for enhancements to the software
Post Reply
Unknown_User_575
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

How to recover Bookmarks in Firefox

Post by Unknown_User_575 » Wed Jan 03, 2007 9:53 pm

I am very new to Sandboxie so I apologise for what is probably a simple question.
I use Firefox as my default (and much preferred browser) but I am unable to recover Bookmarks that I created in a Sandboxed Firefox.
I did in fact follow the "Getting started" tutorial and I was able to recover favourites created in a Sandboxed Internet explorer but when I try to recover files after creating new bookmarks using Firefox the Quick Recovery -DefaultBox does not show the recently created bookmarks and consequently I cannot manage to recover these bookmarks to be recorded in Firefox when not Sandboxed.
Any suggestions or directions would be much appreciated.
Thank you. :?:

Sorcos

Post by Sorcos » Thu Jan 04, 2007 1:46 pm

I was just trying to figure this out too, as I am also very new to Sandboxie. An easy way I used to figure this out was to explore the contents of the sandbox (option right above the recover files). I found that Firefox saves its list of bookmarks in one html file in the users profile folder (for ease of transferring bookmarks to other browsers). I have not tried it yet, but it would appear that by saving this one html file, you would save all of your bookmarks.

The users profile for Firefox can be found at:
C:\Documents and Settings\user\Application Data\Mozilla\Firefox\Profiles\

The html file you are looking for is simply called "bookmarks". So, by going to "Configuration" then "Edit Configuration" in Sandboxie, you can add "RecoverFolder=%AppData%\Mozilla\Firefox\Profiles\'name_of_profile'" to the end of the file, where 'name_of_profile' is the name of the folder in "Profiles\". This will add everything changed in this folder to the "Recover Files" option in Sandboxie. You just have to pick "bookmarks.html" out of the list and recover it. You may also choose to recover "bookmarks.bak" which is a backup of your current bookmarks.

Also note that once you add the RecoverFolder string to the file, you must close Firefox, go to "Configuration" then "Reload Configuration" in Sandboxie in order for the changes to take effect.

Since I have not tried this yet, please, someone correct me if I am wrong or if there is a better way.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Thu Jan 04, 2007 8:31 pm

I vaguely remember this being discussed in this forum some time ago, with various approaches suggested and compared. Try searching for it.

A more practical advice: You can configure Sandboxie to punch holes in the sandbox. You could say: The file holding my bookmarks (bookmarks.html) should not be sandboxed. Any updates to this file by a sandboxed program, should bypass the sandbox mechanism.

In fact there is an option for this in Sandboxie Control. It's the last checkbox on the File Copy Options dialog box:

Sandboxie Control menu -> Configuration -> Sandbox Settings -> Set File Copy Options
tzuk

Unknown_User_575
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_575 » Thu Jan 04, 2007 9:44 pm

tzuk wrote:I vaguely remember this being discussed in this forum some time ago, with various approaches suggested and compared. Try searching for it.

A more practical advice: You can configure Sandboxie to punch holes in the sandbox. You could say: The file holding my bookmarks (bookmarks.html) should not be sandboxed. Any updates to this file by a sandboxed program, should bypass the sandbox mechanism.

In fact there is an option for this in Sandboxie Control. It's the last checkbox on the File Copy Options dialog box:

Sandboxie Control menu -> Configuration -> Sandbox Settings -> Set File Copy Options
Tzuk:
Sorry to be so dense but I really am making no headway with your recommendations.
I did as you suggested in checking the last checkbox on the File Copy Options dialog box but sadly it did not seem to make any difference at all.
I have no difficulty in recovering files when I am using Internet Explorer, but with Firefox, when I press Function > Contents of Sandbox > Recover Files.......any recently added Bookmarks are just not listed and I am therefore unable to update the bookmarks in my regular (non sandboxed) Firefox.
All I'm asking is how do I make a sandboxed Firefox work exactly the same as a sandboxed Internet Explorer works?
Or is this not possible?
Please help me, I am not particularly adept at the inner workings of computer programming so I really need simple instructions and Sandboxie seems to be a truly great program and I would love to use it regularly, but I must be able to retain any and all of my Bookmarks that I acquire while browsing.
Many thanks for your guidance.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Mon Jan 08, 2007 6:41 pm

Sorry, I didn't notice this follow-up question earlier.
did as you suggested in checking the last checkbox on the File Copy Options dialog box but sadly it did not seem to make any difference at all.
Did you ever delete the contents of the sandbox, after doing this?
tzuk

Unknown_User_575
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_575 » Mon Jan 08, 2007 7:56 pm

Did you ever delete the contents of the sandbox, after doing this?
I did indeed delete the contents of the sandbox after checking the checkbox to which you refer.

Unknown_User_575
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_575 » Mon Jan 08, 2007 11:25 pm

Did you ever delete the contents of the sandbox, after doing this?
tzuk:

I would like to correct my earlier post.
I am very happy to say that all seems to be working OK now.
I'm really not sure what I was doing incorrectly, but "punching a hole in the sandbox" seems to have done the trick!
One small question: in the 'File Copy Options- DefaultBox' dilogue box; next to the last checkbox there is a note: (NOT Recommended) ...is there in fact any danger in checking this box (which I have in fact done) on your recommendation.
Thanks for your help.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Tue Jan 09, 2007 6:37 pm

I marked it not recommended because when you "punch a hole" at the profile folder, this applies to bookmarks, but also to many other data files, including extensions I think.

So it just tries to draw attention that you may be punching a hole for more than you may have intended.

However, the 2.7 line of Sandboxie makes it possible to punch much more delicate holes. You can now say you want to punch a hole for just the bookmarks file:

Code: Select all

OpenFilePath=firefox.exe,%appdata%\Mozilla\Firefox\Profiles\*\bookmarks.html
Whereas before you had to expose the whole Profiles directory.

I'll have to update Sandboxie Control to be smarter about this.
tzuk

Unknown_User_575
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_575 » Tue Jan 09, 2007 8:58 pm

Code: Select all

OpenFilePath=firefox.exe,%appdata%\Mozilla\Firefox\Profiles\*\bookmarks.html
tzuk:

Do I put this line of code in the Configuration> Edit configuration dialogue?

Unknown_User_575
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_575 » Tue Jan 09, 2007 9:29 pm

tzuk:

I did in fact insert that line of code in the Configuration > Edit Configuration dialogue box.
A 'Sandboxie.ini-Notepad' dialogue box opened and I simply inserted the line of code at the bottom of the rest of the code.

Unfortunately it does not seem to be working.

I would prefer to punch a more delicate hole as you described but could you please tell be what I am doing incorrectly.

More specifically could you please give me directions as to exactly what I need to do.

Thank you very much for your help and support.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Tue Jan 16, 2007 5:01 pm

The delicate hole (that phrase is beginning to sound silly to me now) that I was referring to, is only possible in a version 2.7 Sandboxie. Have you upgraded to that line of beta versions?
tzuk

Unknown_User_575
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_575 » Tue Jan 16, 2007 5:25 pm

tzuk wrote:The delicate hole (that phrase is beginning to sound silly to me now) that I was referring to, is only possible in a version 2.7 Sandboxie. Have you upgraded to that line of beta versions?
Tzuk:

I am actually using version 2.64. :oops:
Does one need special knowledge to use v 2.7? and where would I get it?
I have looked around the site but the download page only points to v 2.64 as far as I can tell.
Thank you.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Thu Jan 18, 2007 7:47 pm

Does one need special knowledge to use v 2.7?
Not special knowledge, no, but that version is still being tested and still has some quirks.

I think at this point, the best thing for you is to expose the entire Profiles folder, like we discussed a few posts ago (and quite a few days ago) in this very thread.

It's just going to be the easiest thing at this time. And with the next version, you could tighten things up a bit more.
tzuk

Unknown_User_575
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_575 » Thu Jan 18, 2007 8:19 pm

I think at this point, the best thing for you is to expose the entire Profiles folder, like we discussed a few posts ago (and quite a few days ago) in this very thread.

It's just going to be the easiest thing at this time. And with the next version, you could tighten things up a bit more.
Tzuk:

OK I'll do as you suggest and I await the next version with keen anticipation.
Thanks for your advice.

Unknown_User_632
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_632 » Wed Feb 07, 2007 12:58 am

tzuk wrote:
Does one need special knowledge to use v 2.7?
Not special knowledge, no, but that version is still being tested and still has some quirks.

I think at this point, the best thing for you is to expose the entire Profiles folder, like we discussed a few posts ago (and quite a few days ago) in this very thread.

It's just going to be the easiest thing at this time. And with the next version, you could tighten things up a bit more.
I will be looking forward to the new version as well. This is an important thread for FireFox users.

Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests