Søg i 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

Firefox android opens a new tab from iframe src

  • 1 svar
  • 0 har dette problem
  • 20 visninger
  • Seneste svar af scorpiot1000

more options

Steps: - create an iframe without src - create click event listener on any other element - set iframe src to on click to some url that supports "go to application" e.g. YouTube embed url

Expected: Iframe shows youtube video on element click

Actual: Firefox asks to open a new tab or open an app, and never shows this in iframe

Fix for developers: Recreate the iframe with the src

It only works on ff android, we spent literally hours to catch this bug

Steps: - create an iframe without src - create click event listener on any other element - set iframe src to on click to some url that supports "go to application" e.g. YouTube embed url Expected: Iframe shows youtube video on element click Actual: Firefox asks to open a new tab or open an app, and never shows this in iframe Fix for developers: Recreate the iframe with the src It only works on ff android, we spent literally hours to catch this bug
Vedhæftede skærmbilleder

Alle svar (1)

more options

A forgot to say it only happens once per application run per site. So step 0 is to kill the firefox using android app info page

Nyttig?

Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.