[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Mozzila  Firefox bookmarks from visual basic

Posted on 2009-05-13
4
Medium Priority
?
651 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Suggested Courses
Course of the Month18 days, 19 hours left to enroll

834 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