title: FireFox blocking content
body: <p>I am using WHMCS billing system. WHMCS have an own affiliate program, but it does work only on a subdomain. Since billing should be on a different server, just in case.</p>
  
  <p>So we made a script for this one because users want to use the main link, instead of subdomain link. Because then you are using subdomain my.xeovo.com instead of xeovo.com you are going straight to billing, and have no choice to look at the main site.</p>
  
  <p>JavaScript takes "r" from the link. This is how referral links looks like (/?r=1)</p>
  
  <pre><code>function ref() {
          var vars = {};
          var parts = window.location.href.replace(/[?&amp;]+([^=&amp;]+)=([^&amp;]*)/gi, function(m,key,value) {
          vars[key] = value;  });
      return vars;
  }
  
  function file_get_contents( url ) {
  
      var req = null;
      try { req = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {
          try { req = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {
              try { req = new XMLHttpRequest(); } catch(e) {}
          }
      }
      if (req == null) throw new Error('XMLHttpRequest not supported');
      req.open("GET", url, false);
      req.send(null);
      return req.responseText;
  }
  
  
  function start() {
      var id = ref()["r"];
      var nl = file_get_contents("https://my.xeovo.com/aff.php?aff=" + id);
      console.log("REF ID:" + id);
  
  $.get("https://my.xeovo.com/aff.php?aff=" + id, function( data ) {
  
  $( ".resss" ).html( data );
  console.log('ok');
  
  });
  
  
  
  }
  
  window.onload=function(){
      start();
  }
  </code></pre>
  
  <p>The script works totally fine, but we are getting a small problem in FireFox. We tested on Chrome/Opera/IE and everything was fine. 
  If you open <a href="https://www.xeovo.com" rel="nofollow noreferrer">https://www.xeovo.com</a> in FireFox and click on certificate you are going to get this 
  <a href="https://i.stack.imgur.com/pYn7J.png" rel="nofollow noreferrer">here is screenshot</a></p>
  
  <p>So any idea how we can fix this? Thanks.</p>