How to show a preferences page using the Mozilla Add-on SDK?

I am developing an extension using the Addon-SDK. I want to show a preferences page in order to get some users configuration.

simple-prefs too easy to use, because the supported data type is so limited.

In an XUL application, I can use the following

<em:optionsType>3</em:optionsType>
<em:optionsURL>chrome://myaddon/content/options.html</em:optionsURL>

to customize the settings page.

I found a XUL migration guide that says:

This is only provided as a migration tool, and it is still recommended that you migrate XUL windows to HTML.

How can I make an HTML preference page?

Many thanks!

+2
source share
1 answer

:

simple-prefs , control. - , simple-storage, .

!

0

All Articles