Open Bug 423181 Opened 16 years ago Updated 2 years ago

Need hook for manipulating a message before it is printed

Categories

(MailNews Core :: Printing, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: eyalroz1, Unassigned)

Details

When a message is displayed, one can use 'load' events on the relevant DOM elements to carry out all sorts of manipulation.

Ideally, one should be able to manipulate the message as a MIME structure read from file before it is even displayed or used otherwise, but this is currently impossible from an extension and extremely difficult even in the core code, as the code is old and highly problematic; see bug 248846.

Still, it is necessary for an extension to be able to manipulate messages before they are printed, not only before they are displayed. So there should be some hook into the message printing process to allow that.
Product: Core → MailNews Core
Severity: normal → enhancement
Flags: wanted-thunderbird3?
Flags: wanted-thunderbird3?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.