Have you tried using the MIME type for JSON?
application/json
You could also configure your server to send this MIME type automatically for .json files.
More Related Contents:
- Get image data URL in JavaScript?
- How to enable CORS in AngularJs
- Persistent Service Worker in Chrome Extension
- jQuery in Greasemonkey 1.0 conflicts with websites using jQuery
- ES2015 import doesn’t work (even at top-level) in Firefox
- My very simple Greasemonkey script is not running?
- JavaScript getter for all properties
- XMLHttpRequest status 0 (responseText is empty)
- When to use the JavaScript MIME type application/javascript instead of text/javascript?
- How can I send the “&” (ampersand) character via AJAX?
- Accessing the content of other tabs in a browser
- Open IE browser in Firefox/Chrome page
- Mozilla firefox not working with window.onbeforeunload
- JavaScript innerHTML is not working for IE?
- Canvas Draw Image issue on firefox, works well in chrome
- event.target on Firefox
- Page loaded over HTTPS but requested an insecure XMLHttpRequest endpoint
- Overriding XMLHttpRequest.open()
- HTML5 drag and drop folder detection in firefox. Is it even possible?
- Handling connection loss with websockets
- Prompt file download with XMLHttpRequest
- onKeyPress event in Firefox and IE8
- How can I use deflated/gzipped content with an XHR onProgress function?
- Why cookies and set-cookie headers can’t be set while making xmlhttprequest using setRequestHeader?
- Reuse XMLHttpRequest object or create a new one?
- window.event alternative in Firefox
- Adding X-CSRF-Token header globally to all instances of XMLHttpRequest();
- Firefox WebExtension importing Services
- Error: “Access to restricted URI denied”
- css transitions on new elements