Welkom bij Thunderbird Add-ons.
Voeg extra functies en stijlen toe om Thunderbird helemaal van u te maken.
SluitenBeoordeling voor QuoteCollapse door will
Waardering 4 van 5 sterren
I like this add-on. It did the hard work of adding a very useful feature to Thunderbird to hide quotes. There is still a little more work to be done in terms of preferences and keyboard shortcuts as some of the other reviewers have suggested.
Here is some code that can be used with the keyconfig addon to add a keyboard shortcut to toggle expanding and collapsing all quotations in a message.
tree = QuoteCollapse._messagePane.contentDocument.getElementsByTagName("blockquote");
if (tree.item(0).getAttribute("qctoggled") == "true") {
QuoteCollapse._setTree(QuoteCollapse._messagePane.contentDocument, 0);
}
else {
QuoteCollapse._setTree(QuoteCollapse._messagePane.contentDocument, 1);
}
If you want separate commands for expanding and collapsing, just use
QuoteCollapse._setTree(QuoteCollapse._messagePane.contentDocument, 1);
to expand all and
QuoteCollapse._setTree(QuoteCollapse._messagePane.contentDocument, 0);
to collapse all.
Om uw eigen collecties aan te maken, moet u een Mozilla-add-ons-account hebben.