Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

Все ответы (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