Im working on a thunderbird extension that shall add a new “tag” column to every mail in the maillist, similiar to how title/date or size are displayed. However Im not sure whether the API supports this and all my attempts to manipulate the dom failed, due to the XUL used internally I suppose.
I dont have working code, but here is what I tried:
document.querySelector("#threadTree").querySelectorAll("tr")
The first querySelector already fails due to the threadTree being an xul element which is inside a sub html document
<browser>
<html>
<tree-view id="threadTree">...</tree-view>
</html>
</browser>
This is why my selectors fail I suppose.
Still I cant wrap my head around the fact that I couldnt find any way to add a new category to the list using the API. I feel like that should be supported, and in fact it was quite easy to do in very old version of thunderbird…
CYsharp is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.