Sha256: 025ce72c259b6fd70100a9a50bbf1960cf77caaa46347caa2af8a5843f2c8833

Contents?: true

Size: 432 Bytes

Versions: 41

Compression:

Stored size: 432 Bytes

Contents

if (!window.XMLHTTPRequest) {
  (function() {
    var idx, activeObjs = ["Microsoft.XMLHTTP", "Msxml2.XMLHTTP", "Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0"];
    for (idx = 0; idx < activeObjs.length; idx++) {
      try {
        new ActiveXObject(activeObjs[idx]);
        window.XMLHttpRequest = function() {
          return new ActiveXObject(activeObjs[idx]);
        };
        break;
      }
      catch (e) {}
    }
  })();
}

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
rex-exploitation-0.1.40 data/js/network/xhr_shim.js
rex-exploitation-0.1.39 data/js/network/xhr_shim.js
rex-exploitation-0.1.38 data/js/network/xhr_shim.js
rex-exploitation-0.1.37 data/js/network/xhr_shim.js
rex-exploitation-0.1.36 data/js/network/xhr_shim.js
rex-exploitation-0.1.35 data/js/network/xhr_shim.js
rex-exploitation-0.1.34 data/js/network/xhr_shim.js
rex-exploitation-0.1.33 data/js/network/xhr_shim.js
rex-exploitation-0.1.32 data/js/network/xhr_shim.js
rex-exploitation-0.1.31 data/js/network/xhr_shim.js
rex-exploitation-0.1.30 data/js/network/xhr_shim.js
rex-exploitation-0.1.29 data/js/network/xhr_shim.js
rex-exploitation-0.1.28 data/js/network/xhr_shim.js
rex-exploitation-0.1.27 data/js/network/xhr_shim.js
rex-exploitation-0.1.26 data/js/network/xhr_shim.js
rex-exploitation-0.1.25 data/js/network/xhr_shim.js
rex-exploitation-0.1.24 data/js/network/xhr_shim.js
rex-exploitation-0.1.23 data/js/network/xhr_shim.js
rex-exploitation-0.1.22 data/js/network/xhr_shim.js
rex-exploitation-0.1.21 data/js/network/xhr_shim.js