@manikulin: This is the final puzzle, I think. This allows users to type `thunderbird ext+phex:something` and the command handler of installed extensions are tried to resolve it. I decided to open a tab. The WebExtension can then do whatever it needs and close the tab. Does that allow you to do what you need to do?
Bug 1757142 Comment 16 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
@manikulin: This is the final part of the puzzle, I think. This allows users to type `thunderbird ext+phex:something` and the command handler of installed extensions are tried to resolve it. I decided to open a tab. The WebExtension can then do whatever it needs and close the tab. Does that allow you to do what you need to do?