views:

19

answers:

1

I have a firefox addon which works for firefox version 3.0 onwards. However, a particular feature works only for FF 3.5 onwards.

I wanted to check from my addon's code that if the FF version is less than 3.5 then I shall disable the particular feature. Can someone please tell me how can I find out FF version from my addon's code?

Thanks Kapil

A: 

Looks like it's just Application.version -- it returns a String like '3.6.8'.

MatrixFrog