title: Jquery Ajax doesn't work in Firefox (used to work in previous versions) but works in Chrome
body: <p>This simple code works in Chrome (displays your IP) but not in Firefox returns the following error :</p>
  
  <blockquote>
    <p>"An error occured: 404 error".</p>
  </blockquote>
  
  <pre><code>&lt;script&gt;$(document).ready(function()
      {
      $.ajaxSetup({cache: false});
      $.ajax({
          url: "https://freegeoip.net/json/",
          dataType: "JSONP", 
          error: function(xhr)
              {
              console.log("An error occured: " + xhr.status + " " + xhr.statusText);
              }, 
          success: function(data)
              {
              console.log(data.ip);
              }
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Here's the fiddle: <a href="https://jsfiddle.net/7ayo52Lx/5/" rel="nofollow noreferrer">https://jsfiddle.net/7ayo52Lx/5/</a></p>
  
  <p>Any help is appreciated.</p>