This repository has been archived by the owner on May 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME.md.template
25 lines (16 loc) · 1.53 KB
/
README.md.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Statuser
========
Statuser tracks user status and browser hangs in Firefox. The current version is {{ VERSION }}.
![Statuser Screenshots](screenshot.png)
# [INSTALL STATUSER](https://chutten.github.io/statuser/dist/)
Features:
* Displays user activity status (blue circle icon for inactive, red square icon for active) and top-level navigations (icon spins while loading).
* Shows recent hangs, with support for several different hang detection modes.
* Uptime values in the hang entries can be matched up with spikes in the [Gecko Profiler](https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler).
Development
-----------
To build the extension, run `jpm xpi`. To build an XPI for distribution, simply run `bash build.sh`. Specify the version number in `package.json`, and the build script will insert it everywhere else where necessary.
Firefox addons [need to be signed](https://wiki.mozilla.org/Add-ons/Extension_Signing) before they can be properly installed. Authors of [Statuser on AMO](https://addons.mozilla.org/en-US/developers/addon/statuser) can sign the Statuser XPI file as follows:
1. Generate credentials at the [Developer Hub](https://addons.mozilla.org/en-US/developers/addon/api/key/). The JWT issuer is the API key, while the JWT secret is the API secret.
2. Run `jpm sign --api-key=API_KEY_GOES_HERE --api-secret=API_SECRET_GOES_HERE --xpi dist/statuser-*.xpi`.
3. Wait for validation to complete - the signed XPI will be downloaded to the working directory. This can sometimes take a while.