Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

Firefox android opens a new tab from iframe src

  • 1 отговор
  • 0 имат този проблем
  • 20 изгледи
  • Последен отговор от 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
Прикачени екранни снимки

Всички отговори (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

Полезно?

Задаване на въпрос

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