Solved

Mozzila  Firefox bookmarks from visual basic

Posted on 2009-05-13
4
615 Views
Last Modified: 2013-12-07
Hello!

I have to get all bookmarks from Mozzila Firefox from a visual basic application.
But I don't know where are stored the bookmarks.
In the folder WinDir:\Documents and Settings\CurrentUser\Application Data\Mozilla\Firefox\Profiles\xxxxx.default exists  a file, bookmarks.htm, but is incomplete. There are some bookmarks that I can see in my Mozzila browser and that are not in this file.
From where can I get all bookmarks? From where does Mozzila get and show all bookmarks in  Bookmarks/Organize Bookmarks?

Please help me! I'm really in trouble here! :)

Thank you!


0
Comment
Question by:costinu
  • 2
4 Comments
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24382323
Hi,
That should be the correct folder.
Have a look at the following:

http://www.watchingthenet.com/backup-firefox-bookmarks.html


Gary
0
 
LVL 1

Author Comment

by:costinu
ID: 24383147
Hi,

Thank you for your answer!

I know that this is the correct folder. But, in "bookmarks.html" I only have 5 links:
        Getting Started
        Latest Headlines
        Help and Tutorials
        Customize Firefox
        Get Involved
        About Us

 In my browser, on bookmarks tab I have 50 links.

Also there are 5 json files in the  WinDir:\Documents and Settings\CurrentUser\Application Data\Mozilla\Firefox\Profiles\xxxxx.default\bookmarkbackups  folder grouped by date : "bookmarks-2009-05-06.json", "bookmarks-2009-05-07.json", "bookmarks-2009-05-11.json",  "bookmarks-2009-05-12.json", "bookmarks-2009-05-13.json" .

But these are incomplete too. In "bookmarks-2009-05-13.json" there are more links then in "bookmarks.html", but there are missing the last 4 links that I added on 05/13/2009. Because, this file has the date modified : 04.10 PM, and I added  the links two hours later.

So, from where gets Mozzila all bookmarks so it can show the complete  list of the links in the Bookmark tab and in Organize Bookmarks??

Thank you!



0
 
LVL 35

Accepted Solution

by:
torimar earned 500 total points
ID: 24385520
New versions of Firefox store their bookmarks inside a Sqlite database called "places.sqlite" which you will find in your profiles\xxxxxx.default folder.

The bookmarks.html-file is only the one that is used to import the default Mozilla links into a newly created profile.

So unless you know how to deal with an sqlite database in Visual Basic, your best chance is to export the existing bookmarks to an HTML file through the Bookmarks > Manage bookmarks menu.
0
 
LVL 1

Author Comment

by:costinu
ID: 24410751
Thank you, torimar!
That is what I wanted to know! Now I must "fight" with that sqlite database in Visual Basic ;).
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now