Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

Firefox android opens a new tab from iframe src

  • 1 odpoveď
  • 0 má tento problém
  • 20 zobrazení
  • Posledná odpoveď od 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
Priložené obrázky

Všetky odpovede (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

Pomohla vám táto odpoveď?

Položiť otázku

Ak chcete odpovedať na príspevky, musíte sa prihlásiť do svojho účtu. Ak ešte nemáte účet, položte novú otázku.