ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

Javascript alerts dont work in responsive design mode

  • 1 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 4 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย jscher2000 - Support Volunteer

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