PageSourceSearch

https://frostydrew.org/libraries/_root/js/ajax_handler.js

js frostydrew.org collected 2026-10-02 10:53:23 UTC 1,425 bytes, 7 lines download raw bytes

1/**
2 * CopyRight 2017 Scott MacNeill. All rights reserved
3 * @author Scott MacNeill <[email protected]>
4 * @copyright (c) 2017, Scott MacNeill. All rights reserved
5 */
6
7var ajax_handler={scope:this,ajax_uri:"",xml_data:"",xml_connect:function(){var xml_obj;ActiveX=new Array("new ActiveXObject('Msxml2.XMLHTTP')","new ActiveXObject('Microsoft.XMLHTTP')","new XMLHttpRequest()");for(i in ActiveX){try{xml_obj=eval(ActiveX[i])}catch(e){continue}break}return xml_obj},parse_xml_response:function(e){if(window.DOMParser)xml_parser=new DOMParser,response=xml_parser.parseFromString(e,"application/xml");else{if("undefined"==typeof ActiveXObject)return e;response=new ActiveXObject("Microsoft.XMLDOM"),response.loadXML(e)}return response},xml_request:function(e,n){return(n=void 0!==n)||Boxel.draw("window","jax_loading","loading",!1,"<div>Loading XML ...</div>"),xml_obj=this.xml_connect(),xml_obj.open("GET",e,!1),xml_obj.send(null),this.xml_data=this.parse_xml_response(xml_obj.responseText),delete xml_obj,n||Boxel.un_draw("loading"),this.xml_data},xml_submit:function(e,n,o){return(o=void 0!==o)||Boxel.draw("window","jax_loading","loading",!1,"<div>Loading XML ...</div>"),xml_obj=this.xml_connect(),xml_obj.open("POST",e,!1),xml_obj.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),xml_obj.send(n),this.xml_data=parse_xml_response(xml_obj.responseText),o||Boxel.un_draw("loading"),this.xml_data}};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.