Thunderbird addon copy body project

I need to create an addon to thunderbird that copies the current body of the and headers of the current conversation to clipboard.

So when I press the icon a popup email will ask for incoming or outgoing email.

If incoming selected the format to the clipboard would be:






EMAIL BODY OF THE LAST MESSAGE, not the previous replies etc.

I was able to get the headers working with:

let address = "Subject: " +[url removed, login to view] + "\r\n";

address = address + "From: " + [url removed, login to view] +"\r\n";

address = address + "To: " + [url removed, login to view] +"\r\n";

var time = new Date();

[url removed, login to view](([url removed, login to view]) /1000);

address = address + "Date: " + time;

I need the pop-up box for the incoming and outgoing and the current body of the message.

I believe that the [url removed, login to view] should help in here.

Kemahiran: HTML, Javascript

Lihat lagi: thunderbird javascript, comm, clipboard box, copy clipboard html, project popup, outgoing email, addon mozilla, javascript date time, incoming outgoing conversation, will body, Mozilla thunderbird, popup project, pop html, incoming email, thunderbird email, pop message html, create clipboard, 1000 email copy, copy clipboard thunderbird, addon javascript, copy clipboard, javascript format date, date format javascript, copy message, javascript date format

Tentang Majikan:
( 8 ulasan ) London, United Kingdom

ID Projek: #1585822