Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was using Firefox for long time and recently moved to Chrome. And after installing Chrome, when I opened it for the first time, it asks that "You have bookmarks in another browser. Want to import them?"

My question is: How does Chrome knows these bookmarks? Is that Firefox saves in the common place, where other Browser can make use it? If the answer is yes, then what is the reason to save them in a common place?

Please correct me, if I'm wrong!

share|improve this question

migrated from webapps.stackexchange.com Mar 29 '11 at 12:28

This question came from our site for power users of web applications.

2 Answers 2

up vote 7 down vote accepted

Chrome can do this because the developers know where Firefox (and the other browsers) store their data. In exactly the same way the Firefox developers know where Chrome stores it's bookmarks.

There's no common location - just investigation by the developers of one browser of how the other browsers work.

share|improve this answer
    
Oh thanks for the answer:) –  Ant's Mar 29 '11 at 12:45
    
Similarly, it can grab bookmarks from IE, as the format for storing them is also known. –  Rory Alsop Mar 29 '11 at 12:51
    
Now the question is,How does they know how IE works? Its not a open source right? Then how does they found out this? –  Ant's Mar 29 '11 at 13:07
1  
@Anto - by checking in "obvious" places like "C:\Program Files\Internet Explorer" or "C:\users\..." for changes when new bookmarks etc are added. –  ChrisF Mar 29 '11 at 13:09
    
you don't need sources to know where the bookmarks are stored @Anto –  Sathya Mar 29 '11 at 13:10

The bookmarks file is almost always called bookmarks.html or bookmarks.json or something equally obvious. Each browswer keeps a whole folder full of user-specific preferences - the profile - in a known place within each supported operating system. It isn't kept secret; in fact, browser writers generally publish that information so users can back up their profiles, or if necessary for troubleshooting, delete them.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.