Search 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

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

A webpage that makes an ajax call, then jumps to a new page works using Chrome but does not work with Firefox.

  • 2 fhreagra
  • 1 leis an bhfadhb seo
  • 4 views
  • Freagra is déanaí ó cor-el

more options

Does Firefox require that a page remain active in the browser until the ajax call finishes? Is there any documentation that explains what Firefox requires to always successfully use javascript ajax calls to external API's?

Does Firefox require that a page remain active in the browser until the ajax call finishes? Is there any documentation that explains what Firefox requires to always successfully use javascript ajax calls to external API's?

All Replies (2)

more options

Pending requests of all kinds may be terminated when the page is unloaded. I imagine you could do your navigation in a callback when the request returns. But there should be plenty of advice on sites like StackExchange since this is quite an old behavior.

more options