privacy-settings
privacy-settings copied to clipboard
Change indicators
I don't want your extension to become bloated, but I was thinking about an idea...
Have the extension remember all its settings, and then the next time the user brings up its panel, highlight any settings that have changed since the previous time the panel was displayed.
This way, the user can see if something is changing the settings, including updates to Firefox itself.
What do you think?
Well, currently the extension uses observers to monitor Firefox's internal prefs, meaning there is no internal storage to remember the last state of a pref set by the extension itself. I'll keep this open, in case later on the code allows such a functionality.
I'm thinking that perhaps it would create a pref (about:config) like this:
"setting1=on, setting2=off, setting3=on..."
Where each "setting" is a shortened form of the Firefox pref name.
Then each time the extension's panel is displayed, it compares the current settings against that pref.
use Preferences Monitor addon for FirfeFox