14
edits
(→A sample extension?: corrected to be more up to date) |
(→adding a listener via tabs vs via windows: Answered the questions) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 26: | Line 26: | ||
'''Question''': Can I write an addon and use the API that are already there... or do I have to create everything? | '''Question''': Can I write an addon and use the API that are already there... or do I have to create everything? | ||
'''Answer''': | '''Answer''': You can use the API at https://thunderbird-webextensions.readthedocs.io/en/latest/. That page also provides a link to a document on Web Extensions Experiment with good explanations of details. Under the Address book API there is an example addon. | ||
==== stringbundle removal and nsIStringBundleService ==== | ==== stringbundle removal and nsIStringBundleService ==== | ||
| Line 45: | Line 45: | ||
this doesn't work, although these events look exactly the same. What is the difference? | this doesn't work, although these events look exactly the same. What is the difference? | ||
'''Answer''': | '''Answer''': the windows API is different from the tabs API and so this doesn't work. You can add a listener to a new window with a WebExtensions Experiments addon. | ||
edits