- Instrument your Firefox Addon!
- Build Shield Study (Normandy) compatible addons without having to think very much.
npm install --save-dev shield-studies-addon-utils
fully worked tutorial - How To Shield Study
See examples directory.
Your Study is:
- side-by-side variations (1 or more)
- 'one-phase'. No warm up periods. If you want that stuff, handle it yourself, or file bugs
Using this, you get this analysis FOR FREE (and it's fast!)
-
Branch x channel x VARIATION x experiment-id x PHASE (install, reject, alive etc) using UNIFIED TELEMETRY
-
In particular, this library has 100% test coverage for lots of startup and shutdown cases, so that your addon does the Right Thing across restarts.
- maintains same variation across restarts
- testable, tested code
- doesn't care much about your variations, so long as they are 'multi-callable' safely.
- open an issue
- hack and file a PR
-
This assumes
jetpack(jpm) style addons, withrequirejpmstartup and shutdown semantics
-
Some prefs will be set and running during an experiment in the "addon-specific" pref tree.
-
Disable also uninstalls (and cleans up)
-
Undoubtedly, there are others. It scratches my itch. I have built a lot of things in the past.