views:

31

answers:

2

Hi,

I'm developing a firefox extension and I'm looking for a way to access (read) the version of my extension from the extension code itself.

Thanks.

A: 

You can use nsIFile and read your own .rdf, I suppose.

jeffamaphone
+1  A: 

This post provides the APIs you would need to use to make this work. Even has sample code!

sdwilsh