Skip to content

vivier/thunderbird-R-b-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thunderbird extension: insert Reviewed-by

A Thunderbird MailExtension that adds an R-b button to the compose window and inserts a Reviewed-by: line for the currently selected sender identity at the current cursor position.

Structure

  • manifest.json defines the extension metadata, permissions, and compose button.
  • background.js resolves the active sender identity and inserts the text into the editor.
  • icons/compose-button.svg provides the R-b toolbar icon.

Shortcut

The extension also defines a keyboard shortcut for the compose action:

  • Ctrl+Alt+R on Linux and Windows
  • Command+Alt+R on macOS

Thunderbird lets you change extension shortcuts in its shortcut settings UI.

Build a package

Use the provided Makefile from the project root:

  • make or make xpi builds dist/r-b-button-<version>.xpi
  • make zip builds dist/r-b-button-<version>.zip
  • make clean removes the dist/ directory

Load the extension

  1. Open Thunderbird.
  2. Open Add-ons and Themes.
  3. Select Extensions.
  4. Click the gear menu in the Add-ons Manager.
  5. Choose Debug Add-ons.
  6. Click Load Temporary Add-on....
  7. Select the manifest.json file from this folder.

Behavior

When the R-b button is pressed in the compose window, the extension:

  1. reads the currently selected sender identity,
  2. builds a Reviewed-by: line from that identity,
  3. inserts it at the current cursor position in the message body.

The inserted text uses this format:

  • Reviewed-by: Full Name <[email protected]>
  • Reviewed-by: [email protected] if the identity has no display name

Notes

  • The extension uses the identity currently selected in the compose window.
  • Thunderbird 128 or newer is required by the manifest.
  • The keyboard shortcut triggers the same compose action as clicking the R-b toolbar button.

About

Add Reviewed-by button in thunderbird message window

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors