This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Mozilla Support में खोजें

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.

Learn More

Javascript alerts dont work in responsive design mode

  • 1 प्रत्युत्तर दें
  • 1 यह समस्या है
  • 4 views
  • के द्वारा अंतिम प्रतियुतर 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

All Replies (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