fennec

How do I get a number preference in a fennec addon's options box

In fennec, the options box is handled differently. I want to know how to get a number preference in the options box ...

How do I determine if my addon is running in firefox or in fennec?

I am making an addon for both firefox and fennec and I want to know if it is running on fennec or not. ...