Proposal: MailExtensions API to allow UI overlays, but no script injection

ace acelists at atlas.sk
Sat Oct 12 12:56:03 UTC 2019


Dňa 12. 10. 2019 o 14:41 Philipp Kewisch napísal(a):
>> On 12. Oct 2019, at 12:55 PM, ace <acelists at atlas.sk> wrote:
>> Hi. We recently added a feature in Thundebird that allows addons to
>> listen when specific windows are opened (by specifying document URLs
>> they are interested in). When that happens, the addon specified code can
>> run on that window. Then you could change the appearance of UI elements
>> using standard DOM methods, instead of a XUL overlay file.
>>
>> See registerWindowListener() at
>> https://searchfox.org/comm-central/source/common/src/ExtensionSupport.jsm#223
>>
>> This could cover some of the addon use-cases.
>>
>> aceman
>>
> 
> Note this api isn't available to MailExtensions, just the experiments.

Thanks for the info. Surely it could be added to the MailExtensions API
to expose it to WE addons, as it is actually intended to be used by
addons? We use it e.g. for the mozmill addon.

aceman


More information about the tb-planning mailing list