Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Javascript alerts dont work in responsive design mode

more options

Hi,


When working in responsive design mode, using javascript alert() doesn't do anything.

This is really frustrating for debugging and sometimes I think that the page is cached or something else is wrong before I remember alerts just do not work in responsive design mode.

So now everytime I test my sites for mobile I use chrome, which sucks because I hate chrome and want to use firefox.

What is the reasoning behind this? I'm sure alerts work on mobile, so why when im emulating mobile will they not work.

Please can we get this added into firefox.


Thanks,

Trent

Hi, When working in responsive design mode, using javascript alert() doesn't do anything. This is really frustrating for debugging and sometimes I think that the page is cached or something else is wrong before I remember alerts just do not work in responsive design mode. So now everytime I test my sites for mobile I use chrome, which sucks because I hate chrome and want to use firefox. What is the reasoning behind this? I'm sure alerts work on mobile, so why when im emulating mobile will they not work. Please can we get this added into firefox. Thanks, Trent

Alle antwurden (1)

more options

Hi Trent, I haven't heard of this before. Maybe it's a change in Developer Edition??

I suspect you won't get an explanation or fix here, and suggest you pose your question on the DevTools forum:

https://discourse.mozilla.org/c/devtools