Skip to content

titooan/mozhelper-extension

Repository files navigation

Moz Helper Suite icon

Moz Helper Suite

Moz Helper Suite is a Firefox add-on that bundles several small productivity features commonly used around Mozilla:

  • Gmail Bugzilla linkifier with rich tooltips – automatically turns “Bug 123456” references in Gmail into Bugzilla links, with hover cards that surface status, assignee, product, and component.
  • Bugzilla markdown paste helper – when you highlight text in the Bugzilla comment box and paste a URL, the helper replaces it with proper [text](url) syntax so you never type Markdown by hand.
  • Phabricator inline video player – detects video artifacts in comments and renders an inline <video> player so you can review attachments without downloading them.
  • Phabricator try link surfacer – retrieves the latest try push link from comments and adds it to the Diff detail section so reviewers can see CI status at a glance.
  • Phabricator try link status badger – prefixes every try link with an icon indicating its status (loading, success, or failure).
  • Phabricator markdown paste helper – highlight text in any remarkup field and paste a link to instantly wrap the selection with [text](url) markdown without touching the mouse again.
  • Treeherder Firebase TestLab helper – adds a Firebase button to the Treeherder job summary and navigation bar that fetches the latest TestLab link via Taskcluster.
  • Treeherder unit test shortcut – detects Taskcluster jobs that expose unit-test HTML reports and adds a toolbar icon that jumps directly to the rendered results.
  • Shared settings/popup surfaces – a toolbar popup and options page let you enable or disable each helper individually, with sync storage keeping preferences aligned across browsers.

Get Moz Helper Suite on AMO

Development

Prerequisites

  • Node.js 18+
  • npm

Build

npm install
npm run build

npm run build cleans previous artifacts, copies assets into build/, zips mozilla-helper.xpi, and runs web-ext lint (with a small diagnostics-channel polyfill) to validate the packaged add-on.

Installation

After running the build, you can load the unsigned XPI locally:

  1. In Firefox, open about:config and set:
    • xpinstall.signatures.requiredfalse
    • extensions.experiments.enabledtrue
  2. Open about:addons, click the gear icon, and choose “Install Add-on From File…”.
  3. Select mozilla-helper.xpi from the repository root.
  4. Accept any permission prompts (Bugzilla hosts, etc.).

During development, you can also use about:debugging#/runtime/this-firefox → “Load Temporary Add-on…” and pick manifest.json.

Tests

npm test

This runs the Mocha suite covering the Gmail, Bugzilla, Phabricator, Treeherder, and URL utility helpers. Please keep tests passing before submitting a change.

Contributing

Contributions of all sizes are welcome! If you have an idea or a fix, open an issue or send a pull request—no need to ask for permission first. Please include tests whenever possible and describe any user-facing changes so they’re easy to review.

About

Firefox add-on bundling Mozilla productivity helpers.

Resources

Stars

Watchers

Forks

Packages

No packages published