Firefox extension dev: observing preferences, avoid multiple notifications
- by Michael
Let's say my Firefox extension has multiple preferences, but some of them are grouped, like check interval, fail retry interval, destination url. Those are used in just single function.
When I subscribe to preference service and add observer, the observe callback will be called for each changed preference, so if by chance user changed all of the…