Signature Switch  Signature Switch


Download:
 signatureswitch2_2_1.xpi
(934 KB | sha256sum | installation instructions | addons.thunderbird.net)

Tired of removing/inserting your signature manually when composing a mail?

Sometimes you don't want specific recipients to see your signature (which may contain "personal" information).
"Signature Switch" offers removal (and re-insertion) of your signature with just one click of a button.
Moreover you can define different signatures (e.g. for private- or business-use) and easily select them via toolbar button.

But that's not all!
Additional features include the support of "fortune cookie files" and automatic switching based on recipients.
Switching or choosing the signature only affects the currently composed message of course. Your original settings remain untouched.
v2.2.1 (2020-10-24)
  • fixed signature-separator for HTML mode
v2.2.0 (2020-10-23)
  • new: preferences for 'Forwardings'
  • bugfix: doubling of line-feeds in plaintext composer on Windows
  • updated library dependencies
v2.1.0 (2020-10-12)
  • (re-)implemented support for 'Fortune Cookies'
  • new option: automatically prepend separator for HTML signatures
  • several minor bug fixes / improvements
v2.0.0 (2020-10-03)
  • initial release: new/rewritten version of this add-on as MailExtension
Here's a list of frequently asked questions:
  1. I want to place my signature above the quote when replying to an email. Can this be done using SignatureSwitch?
  2. There is a built-in Thunderbird-setting ("When quoting, [start my reply above the quote] and place my signature [below my reply (above the quote)].") to define the location of a signature. Can Signature Switch make use of this setting?
  3. Where is the context menu for Signature Switch? I can't find it if I right-click in the composer window.
  4. I'm using a Mac; the keyboard shortcuts don't work! What now?
  5. Is there a way to use external signature files (stored on my machine), instead of managing them directly in the add-on? (Just like the "old" SignatureSwitch used to work.)

I want to place my signature above the quote when replying to an email. Can this be done using SignatureSwitch?
No. Signature Switch won't let you configure that. There are several reasons for that.
Let me explain a few of them:
  • A signature should always be located at the very bottom of a document/email. That's why it's called a signature; not an "include".
  • If you answer to someone's email, then you can assume that he already does have your contact information. So why pollute/clutter the reply with redundant/useless information?
  • A signature usually has a signature separator ("-- \n"). Or at least it should have one. This separator is often used by email-clients to automatically cut off everything below that signature separator line on replies. Mainly due to the reason explained above. Otherwise you'd have a mail-body full of signatures after a few reply-bounces. Nobody wants or needs that.
    Ergo: If you would place a signature (plus the preceding separator) before the quoted text, then the quoted text could be cut off entirely upon a reply.
  • Having a fixed/defined location of the signature (combined with the signature separator) makes it more easy, efficient, and bullet-proof to detect it.
    And this allows features like switching the signature on/off, cycling through your set of available signatures, and also simply replacing it with another one possible.
There is a built-in Thunderbird-setting ("When quoting, [start my reply above the quote] and place my signature [below my reply (above the quote)].") to define the location of a signature. Can Signature Switch make use of this setting?
No. Due to the reasons explained in the in the first FAQ entry, Signature Switch won't utilize this setting in anyway. Besides, Signature Switch is a pure MailExtension now. Meaning that (as of now) there's no way to read Thunderbird's (user-)settings ("prefs.js") from within a MailExtension.
Where is the context menu for Signature Switch? I can't find it if I right-click in the composer window.
The official MailExtension-API currently doesn't offer a hook to add custom context menu entries. This will hopefully change in the near future.
I'm using a Mac; the keyboard shortcuts don't work! What now?
Go to the add-on's settings page. Select the "Miscellaneous" tab. Under "Keyboard Shortcuts" change all instances of Ctrl to MacCtrl.
Is there a way to use external signature files (stored on my machine), instead of managing them directly in the add-on? (Just like the "old" SignatureSwitch used to work.)
Nope. The "new" SignatureSwitch is a pure MailExtension; meaning it has limited access to resources from the outside.
However, you can use the import/export feature to have the same setup on different machines.

OLD VERSION:
Looking for the legacy version of this add-on which is compatible with Thunderbird versions below 78?
Check: Signature Switch (XUL/XPCOM)