Re:Show HN: Super Mail Forward, an HTML email that evolves a...
by ceejayoz on Thursday January 21, 2016 @11:53AM
(#10946473)
> they also have to make sure malformed HTML can't break the rest of the page
[ Parent
| on HN ]
Re:Show HN: Super Mail Forward, an HTML email that evolves a...
by mschuster91 on Thursday January 21, 2016 @12:32PM
(#10946777)
Please, add a sandbox attribute on your iframes. I have outlined the reason for this below.
Re:Show HN: Super Mail Forward, an HTML email that evolves a...
by azinman2 on Thursday January 21, 2016 @12:18PM
(#10946666)
Changes what you can then do with the email. If you want to hide quoted or let users select specific text for forwards, you're SOL.
Re:Show HN: Super Mail Forward, an HTML email that evolves a...
by ceejayoz on Thursday January 21, 2016 @01:00PM
(#10946974)
As long as they're on the same domain, you should be able to reach into the child iframe. Used to be a common technique for handling file upload progress before AJAX support for uploading became commonplace.
The child can reach up to the parent via JS, too, but you'd want to sanitize any JS in an email anyways.
Re:Show HN: Super Mail Forward, an HTML email that evolves a...
by livingparadox on Thursday January 21, 2016 @12:30PM
(#10946761)
Anyone who doesn't do this is asking for trouble