Solved

Mozzila  Firefox bookmarks from visual basic

Posted on 2009-05-13
4
613 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

747 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

10 Experts available now in Live!

Get 1:1 Help Now