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.20 data/js/network/xhr_shim.js
rex-exploitation-0.1.19 data/js/network/xhr_shim.js
rex-exploitation-0.1.18 data/js/network/xhr_shim.js
rex-exploitation-0.1.17 data/js/network/xhr_shim.js
rex-exploitation-0.1.16 data/js/network/xhr_shim.js
rex-exploitation-0.1.15 data/js/network/xhr_shim.js
rex-exploitation-0.1.14 data/js/network/xhr_shim.js
rex-exploitation-0.1.13 data/js/network/xhr_shim.js
rex-exploitation-0.1.12 data/js/network/xhr_shim.js
rex-exploitation-0.1.11 data/js/network/xhr_shim.js
rex-exploitation-0.1.10 data/js/network/xhr_shim.js
rex-exploitation-0.1.9 data/js/network/xhr_shim.js
rex-exploitation-0.1.8 data/js/network/xhr_shim.js
rex-exploitation-0.1.7 data/js/network/xhr_shim.js
rex-exploitation-0.1.6 data/js/network/xhr_shim.js
rex-exploitation-0.1.5 data/js/network/xhr_shim.js
rex-exploitation-0.1.4 data/js/network/xhr_shim.js
rex-exploitation-0.1.3 data/js/network/xhr_shim.js
rex-exploitation-0.1.2 data/js/network/xhr_shim.js
rex-exploitation-0.1.1 data/js/network/xhr_shim.js