Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

mailto combined with onclick does not work

  • Akukho zimpendulo
  • 0 zinale nkinga
  • 1 view
more options

Hi,

example given:

<a alt="bla" onclick="return gtag_report_conversion('mailto:chief@example.com?subject=bla%20bla%20bla&body=more%20bla%20bla');" href="mailto:chief@example.com?subject=bla%20bla%20bla&body=more%20bla%20bla"></a>

works well with Chrome, Edge, Samsung but NOT with Firefox. Without the onclick-Event it works with Firefox too

<a alt="bla" href="mailto:chief@example.com?subject=bla%20bla%20bla&body=more%20bla%20bla"></a>

As the onclick is essential I wonder if there is a fix for the fox?

Thanks in advance, Alex

Hi, example given: <a alt="bla" onclick="return gtag_report_conversion('mailto:chief@example.com?subject=bla%20bla%20bla&amp;body=more%20bla%20bla');" href="mailto:chief@example.com?subject=bla%20bla%20bla&amp;body=more%20bla%20bla"><img src="https://image.example.com/image.png" /></a> works well with Chrome, Edge, Samsung but NOT with Firefox. Without the onclick-Event it works with Firefox too <a alt="bla" href="mailto:chief@example.com?subject=bla%20bla%20bla&amp;body=more%20bla%20bla"><img src="https://image.example.com/image.png" /></a> As the onclick is essential I wonder if there is a fix for the fox? Thanks in advance, Alex

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.