1 2dnn.xmlhttp.parserName='JS';dnn.xmlhttp.JsXmlHttpRequest=function() 3{dnn.xmlhttp.contextId+=1;this.contextId=dnn.xmlhttp.contextId;this.method=null;this.url=null;this.async=true;this.doc=null;this.iframe=document.createElement('IFRAME');this.iframe.name='dnniframe'+this.contextId;this.iframe.id='dnniframe'+this.contextId;this.iframe.src='';this.iframe.height=0;this.iframe.width=0;this.iframe.style.visibility='hidden';document.body.appendChild(this.iframe);} 4dnn.xmlhttp.JsXmlHttpRequest.prototype={open:function(sMethod,sURL,bAsync) 5{this.method=sMethod;this.url=sURL;this.async=bAsync;},send:function(postData) 6{this.assignIFrameDoc();if(this.doc==null) 7{window.setTimeout(dnn.dom.getObjMethRef(this,'send'),1000);return;} 8this.doc.open();this.doc.write('<html><body>');this.doc.write('<form name="TheForm" method="post" target="" ');var sSep='?';if(this.url.indexOf('?')>-1) 9sSep='&';this.doc.write(' action="'+this.url+sSep+'__U='+this.getUnique()+'">');this.doc.write('<input type="hidden" name="ctx" value="'+this.contextId+'">');if(postData&&postData.length>0) 10{var aryData=postData.split('&');for(var i=0;i<aryData.length;i++) 11this.doc.write('<input type="hidden" name="'+aryData[i].split('=')[0]+'" value="'+aryData[i].split('=')[1]+'">');} 12this.doc.write('</form></body></html>');this.doc.close();this.assignIFrameDoc();this.doc.forms[0].submit();},assignIFrameDoc:function() 13{if(this.iframe.contentDocument) 14this.doc=this.iframe.contentDocument;else if(this.iframe.contentWindow) 15this.doc=this.iframe.contentWindow.document;else if(window.frames[this.iframe.name]) 16this.doc=window.frames[this.iframe.name].document;},getResponseHeader:function(sKey) 17{this.assignIFrameDoc();var oCtl=dnn.dom.getById(sKey,this.doc);if(oCtl!=null) 18return oCtl.value;else 19return'WARNING: response header not found';},getUnique:function() 20{return new Date().getTime();}} 21dnn.xmlhttp.JsXmlHttpRequest.registerClass('dnn.xmlhttp.JsXmlHttpRequest');
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.