How to save FireFox from “turning” with a request for a long survey?

I use the following for a long poll request (this is a plugin similar to getJSON) ...

$.jsonp({
  "url": url,
  "data": {
      "settings", settings
  },
  "success": function(userProfile) {
      // handle user profile here 
  },
  "error": function(d,msg) {
      alert("Could not find user "+userId);
  }
});

The request will not be completed until 30 seconds have passed or information has been sent (lengthy survey).

The problem is that Firefox is the only browser that will display "Waiting for URL ..." at the bottom. Is there any way to prevent this?

+3
source share
1 answer

You might want to check the version of the jsonp plugin, as this is a known and fixed bug.

+2
source

Source: https://habr.com/ru/post/1760592/


All Articles