Other Stuff
Key bindings

You can define a key binding for QuoteCollapse by using the Keyconfig extension. The necessary code to execute on a keypress is as follows:

var messageDocument = QuoteCollapse._messagePane.contentDocument;
bq = messageDocument.getElementsByTagName("blockquote").item(0);
if( ! bq ) return;
var newstate= ! QuoteCollapse._getState(bq);
QuoteCollapse._setTree(messageDocument, newstate);

In future versions of QuoteCollapse there will be a special utility function QuoteCollapse.Toggle() which accomplishes the same.


The style that QuoteCollapse applies by default is equivalent to the following:

blockquote[type="cite"] {
  background: url("chrome://quotecollapse/skin/twisty-clsd.png") no-repeat top left;
  height: 2ex;
  padding-bottom: 0px ! important;
  overflow: -moz-hidden-unscrollable;

blockquote[type="cite"][qctoggled="true"] {
  background: url("chrome://quotecollapse/skin/twisty-open.png") no-repeat top left;
  height: auto;
  overflow: visible;

Therefore, you can style everything through your userContent.css. You can edit this file by hand or using the ChromeEdit extension. Note that you have to use the "important" flag to override the default settings. Note also the use of BODY.mailview which ensures that the style is applied when viewing mails only (not in the editor).

The quotecollapse project can be contacted through the mailing list or the member list.
Copyright © 2000-2020. All rights reserved. Terms of Use & Privacy Policy.