cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Awako
Making moves
Status: New idea

Hello,

Users whan to change Quote in replay message.

Previously there was a changeQuote plugin for this, but now it doesn't work (TB 102)

For example, deffault header is:

2022-10-20_17-02-17.png

And user need change it.

The user can change the setting mailnews.reply_header_type, but this is not enough.

For example, i user whant this headers:

2022-10-20_17-09-30.png

I already have such a plugin, I made it myself, but it uses experiment_apis, for this reason I am not ready to share it.

When open messengercompose, i register event:

 

 

window.addEventListener("compose-editor-ready", new my_windowListener(), {once: true});

 

 

in my_windowListener, i create new headers, and push it in "moz-cite-prefix", example:

 

 

				let STR = `
				&nbsp;<hr size=1 width=100%>
				<b>Subject:</b> ${Subject}
				<b>From:</b> ${From}
				<b>Sent:</b> ${Sent}
				`

				let div = doc.getElementsByClassName("moz-cite-prefix")[0];
				div ? div.innerHTML = STR + "</br>" : null;

 

 

user can change headers in GUI settings, how he need 

1 Comment
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.