views:

31

answers:

1

I want to write plugin for GNOME Do, that will work with Firefox extensions data (for example, with URL Alias patterns). I have looked through files in my profile folder (~/.mozilla/firefox/.default/), but haven't found anything related.

Can anybody help me?

A: 

I unzipped the XPI, and it looks like the key data is stored in the preference system under the urlalias branch. This is serialized to disk in the prefs.js. file Each line is a single preference, so it should be pretty simple to parse (you could conceivably use Firefox's XPCOM interface, but that's probably unnecessary).

Matthew Flaschen