PageSourceSearch

https://www.aicgroup.biz/include/js/getJs.php?file=xmlextras.js&lang=en

js aicgroup.biz collected 2026-10-06 17:07:08 UTC 2,346 bytes, 24 lines download raw bytes

1//////////// Source: xmlextras.js ////////////
2function getDomDocumentPrefix(){if(getDomDocumentPrefix.prefix)
3return getDomDocumentPrefix.prefix;var prefixes=["MSXML2","Microsoft","MSXML","MSXML3"];var o;for(var i=0;i<prefixes.length;i++){try{o=new ActiveXObject(prefixes[i]+".DomDocument");return getDomDocumentPrefix.prefix=prefixes[i];}
4catch(ex){};}
5throw new Error("Could not find an installed XML parser");}
6function getXmlHttpPrefix(){if(getXmlHttpPrefix.prefix)
7return getXmlHttpPrefix.prefix;var prefixes=["MSXML2","Microsoft","MSXML","MSXML3"];var o;for(var i=0;i<prefixes.length;i++){try{o=new ActiveXObject(prefixes[i]+".XmlHttp");return getXmlHttpPrefix.prefix=prefixes[i];}
8catch(ex){};}
9throw new Error("Could not find an installed XML parser");}
10function XmlHttp(){}
11XmlHttp.create=function(){try{if(typeof XMLHttpRequest!=='undefined'){var req=new XMLHttpRequest();if(req.readyState==null){req.readyState=1;req.addEventListener("load",function(){req.readyState=4;if(typeof req.onreadystatechange=="function")
12req.onreadystatechange();},false);}
13return req;}
14if(typeof ActiveXObject!=='undefined'){return new ActiveXObject(getXmlHttpPrefix()+".XmlHttp");}}
15catch(ex){}
16throw new Error("Your browser does not support XmlHttp objects");};function XmlDocument(){}
17XmlDocument.create=function(){try{if(typeof ActiveXObject!=='undefined'){return new ActiveXObject(getDomDocumentPrefix()+".DomDocument");}
18if(document.implementation&&document.implementation.createDocument){var doc=document.implementation.createDocument("","",null);if(doc.readyState==null){doc.readyState=1;doc.addEventListener("load",function(){doc.readyState=4;if(typeof doc.onreadystatechange=="function")
19doc.onreadystatechange();},false);}
20return doc;}}
21catch(ex){}
22throw new Error("Your browser does not support XmlDocument objects");};if((typeof DOMParser!=='undefined')&&(typeof XMLSerializer!=='undefined')&&(typeof Node!=='undefined')&&Node.prototype&&Node.prototype.__defineGetter__){Document.prototype.loadXML=function(s){var doc2=(new DOMParser()).parseFromString(s,"text/xml");while(this.hasChildNodes())
23this.removeChild(this.lastChild);for(var i=0;i<doc2.childNodes.length;i++){this.appendChild(this.importNode(doc2.childNodes[i],true));}};Document.prototype.__defineGetter__("xml",function(){return(new XMLSerializer()).serializeToString(this);});}
24

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.