canmove, Confirmed users
2,056
edits
(clean up the overview) |
|||
| Line 105: | Line 105: | ||
= Design & Implementation = | = Design & Implementation = | ||
Site-specific preferences in Firefox 3 comprises: | |||
# a persistent datastore for saving prefs across sessions; | # a persistent ''datastore'' for saving prefs across sessions; | ||
# an application-wide service for getting and setting prefs; | # an application-wide ''service'' with an API for getting and setting prefs; | ||
# a controller for each browser window | # a ''controller'' for each browser window with an API for observing pref-related events; | ||
# a handler for the text zoom setting | # a ''handler'' for the ''text zoom'' setting. | ||
To this core functionality, the extension adds: | |||
# ''handlers'' for the ''page style'' and ''character encoding'' settings; | |||
# a ''sidebar'' for viewing and editing site-specific prefs. | |||
== Persistent Datastore == | == Persistent Datastore == | ||