Javascript broken when link is clicked through mailtrap
When clicking a link within an email, the page is rendered (in new tab) and all javascript on that page is blocked due to sandboxed iframe your using. For now the only workaround we found is to copy the url into a new tab, however it is not that easy to explain to the business owner that this is not our fault and that it will work normally when the same link is clicked in any other email clients.
Is there anyway we could configure our service to allow direct linking from emails to our page without breaking the javascript? If no, could it please be added?
Added ability execute js code for HTML parts in emails
-
Anonymous commented
works now ! :) thank you guys !
-
AdminMailtrap (Mailtrap, Mailtrap) commented
We've fixed the issue. Please check it once again.
-
Anonymous commented
I concur with David M in regards to this, since a day or two this has started happening as well.
When opening the emails in a different client ( such as Airmail or Mailspring ) it is rendered properly with the correct permissions.
My best guess is that "target='_blank'" is not applied properly in the sandboxed iframe as it should have the 'allow-popups-to-escape-sandbox' applied to them.
For now we are good with just copy/pasting the link from mailtrap into a different browser window ( which would actually be it's normal functionality to begin with ).
-
David M commented
Hi we have just noticed that your iframe sanbox no longer allows scripts, this is deactivating the JS on our site when a link is clicked from the email to link to our site. this appeared to happen in the last few days, is this intended?
-
Cameron commented
We have just discovered this bug too and would love to have this "feature" turned off.