Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Why can't I save user options in some add-ons such as Signature Switch?

  • 12 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 not_a_number

more options

After adding a signature in the 'Set Signature' dialog and clicking OK, clicking OK in the 'Signature Switch Options' dialog appears to do nothing. I have noticed similar behavior with another add-on (but cannot remember which). If I cancel the options dialog, Signature Switch works (with my signature), but does not remember any setting changes including my signature next time it is used. I did wonder if it was due to a file permissions issue, however running TB as 'Administrator' does not help.

TB v58.0b3 - though have same problem in other recent versions. Signature Switch v1.7 Windows 10 pro v1709

After adding a signature in the 'Set Signature' dialog and clicking OK, clicking OK in the 'Signature Switch Options' dialog appears to do nothing. I have noticed similar behavior with another add-on (but cannot remember which). If I cancel the options dialog, Signature Switch works (with my signature), but does not remember any setting changes including my signature next time it is used. I did wonder if it was due to a file permissions issue, however running TB as 'Administrator' does not help. TB v58.0b3 - though have same problem in other recent versions. Signature Switch v1.7 Windows 10 pro v1709

所有回覆 (12)

more options

As I understand it... you used Thunderbird 'Write' to create signature which you saved as HTML file in a suitable folder on eg: Desktop.

You installed signatureswitch addon extension. In Write window: Options > Signature Switch > Options click on 'Add' to open 'set signature' Enter description eg: Spouse or Child etc locate where you saved the HTML file and click on Open to add path.

Did you set anything in 'AutoSwitch (optional)' ? eg: you may want to send an email to your wife, husband, partner, child Under 'Addresses' you can enter their email address. click on OK click on OK

Note: if you are sending to that person and another friend, both in TO fields you may want to manually select another signature at time of composing. Also note: if enter 'A' in a 'TO' field and you get a drop down showing eg:

  1. Adam email address
  2. Amy email address
  3. Arnold email address

Let's say 'Amy is daughter, but you want to send to 'Arnold', a friend. If you use the down key to select, it will highlight 'Amy' before 'Arnold' and end up selecting a signature for Amy and not removing it when 'Arnold' is finally selected. This only occurs if using keyboard to step through intill you get to the one you want, so if using default signatures for specific names be careful in how you select those names.


I have a default signature set up in Account Settings for some email address/mail account. see image below.

When I open 'Write', that default email address is applied and auto appears. When I select email address to send 'TO' my eg: children, signature switch auto swaps the signature which I set as explained above.

If I open 'Write' Use the 'Contacts Sidebar' to select a 'Child' name and either drag and drop into a TO field or use 'Addto TO' button. I notice the signature is not immediately selected, but if you do either of the following it is then auto switched. use 'backspace' to go back up to end of child email address and the press enter or use tab key to go to 'Subject' field.

more options

Toad-Hall, thank you for reply.

Yes, it is setup as per your first 2 paragraphs. The problem is that it doesn’t save the drescription and path (or any other changes). I have to re-enter them every time that I reply/compose an email.

I notice that the options box (with empty description and path) opens for every reply/new mail. Is that usual behaviour?

more options

Further information...using the context menu, I can toggle the the signature in Account Setting on and off.

more options

What version of Thunderbird are you using?

more options

Matt, thanks for your reply... Thunderbird v58.0b3 Signature Switch v1.7 Windows 10 pro v1709

more options

re : If I cancel the options dialog, Signature Switch works (with my signature), but does not remember any setting changes

If you made changes in Signature Switch Options, added anything, etc then you would not click on 'Cancel' as this does not save anything. So, if you really did click on 'Cancel' then this would explain why nothing is saved.

Please confirm that after making any changes to Signature Switch Options you do click on the 'OK' button to save changes.

My signature HTML files and any images they use are stored in this location:

  • C:\Users\User Account\Signatures

So path is for my formal signature is:

  • C:\Users\User Account\Signatures\Formal.html

Where do you keep yours? Please state path.

more options

Toad-Hall, thanks for your reply.

Sorry, my original post perhaps wasn't clear enough. If I press OK, then the button changes colour and nothing else appears to happen, the dialog is not dismissed and no user options seem to be changed. It is because the dialog doesn't disappear, that makes me think the add-on is unable to write the changes wherever it keeps them. Do you know where they should be stored? If I press Cancel, then the options dialog is dismissed and a write email window appears. If while over this window I select the context menu (right click) then it has a Signature Switch sub-menu... Signature Switch|Signature on/off: toggles my signature. Signature Switch|Options: re-launches the options dialog. Furthermore, if I again attempt to change any settings ,using this dialog and press OK, then nothing happens and no changes persist.

With regard to my signature html files, they are stored on my desktop (C:\Users\UserAccount\Desktop) e.g. path C:\Users\UserAccount\Desktop\SignatureWithEmail.html. I can point ThunderBird's in-built signature option (in Account Settings) either to these signature files or use the text box there.

Apologies for the long answer.

more options

Menu icon > Options > Options > Advanced > 'General' tab click on 'Config Editor' button it will say be careful :)

In top search type: signatureswitch

  • extensions.signatureswitch.signatures

This is where the list of signatures appears as a string. I've added an image showing mine.

But your issue seems to be a saving problem.

more options

Are you able to save them by doing it this way:

Menu icon > Addons locate Signature Switch and click on 'Options'

more options

not_a_number said

Matt, thanks for your reply... Thunderbird v58.0b3 Signature Switch v1.7 Windows 10 pro v1709

Could you please try with the current release version instead of the release version. I am not sure which pre release versions are affected, but there is a problem with changes Mozilla made to the geko engine that apparently makes Firefox go faster but removes access to add-on options in Thunderbird. As we are independent of Mozilla in the development sense, the change will need to be accounted for in Thunderbird because Mozilla will not change what they have done.

more options

Link to current version. Choose the one suitable for your OS and prefered language:

more options

Many thanks to Toad-Hall and Matt.

I suspect that the underlying issue remains. However, after setting my signatures in TB v52.6.0 and Signature Switch v1.6.16, I reverted to v58.0b3 and SS v1.7 and all appears well. I can now edit and re-save my settings. Though have have not yet tried manually deleting and then re-creating the preferences. I'll update you when I have.