For whatever it's worth, another application of javascript in MM web
view executed on plain-text messages is rendering equations. My friends
often send me markdown sprinkled with latex, and if I could run mathjax
in MM web view, this would make a lot of my email _way_ more readable.
Nicely rendered equations instead of stuff like `$g_{i,j}(z) =
f(z|_{S_{i}})$` scattered all over would make my life a lot easier.
Heck, this would probably help me sell a few copies of mailmate -- email
with readable equations is a killer feature for mathematicians, and
currently there's _no_ good solution for this anywhere.
In a perfect world, I could also render equations using mathjax in the
preview window, so I can see my own messages with the equations rendered
nicely as I type them.
Something to think on. Very limited audience for this kind of feature,
but we'd be very enthusiastic.
cheers,
-- marco
On 13 Jun 2017, at 6:36, Verdon Vaillancourt wrote:
oh god, if you can find a way to get rid of signature noise, please
share!
On 13 Jun 2017, at 9:29, Padraic Renaghan wrote:
Totally understand not wanting to enable javascript in the message
view. Certainly can't trust senders to run javascript they provide.
Maybe there is another way to do what I am trying to accomplish...
My company adds a ridiculous 20 line legal footer to all emails.
Makes reading them noisy, especially when a thread gets a few
replies, and every reply gets another 20 legal footer. So I was going
to use javascript to identify those blocks and "display:hide" them.
Is there another way to do that?
Any way to filter the message prior to loading it into the MM Web
View?
Is that what the premailer is about?
Can I customize that?
Thanks,
Padraic
2017-06-13 05:44 EDT from Benny Kjær Nielsen:
On 12 Jun 2017, at 18:59, Padraic Renaghan wrote:
What I'd really like to do is inject javascript. I tried making my
own version of basic.js, but that didn't seem to get injected.
Javascript is currently always disabled for the message view.
I did it for headers with the headersFormatting.plist using the
prefix. This seems to work well.
The HTML generated for the headers view is under my control and
therefore it is safer to allow Javascript.
Any way to do this for the main message view?
Not currently.
If not, possible new advanced feature?
Yes, but probably only for non-HTML emails and then I'm not sure
it's really useful. I really don't want to go into the problem of
sanitizing arbitrary HTML messages.
--
Benny
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate