Reputation: 703
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.
Upvotes: 1
Views: 140
Reputation: 4682
This post provides the APIs you would need to use to make this work. Even has sample code!
Reputation: 54640
You can use nsIFile and read your own .rdf, I suppose.
Upvotes: 0