1var proxyURL = 'https://api.allorigins.win/raw?url='; 2 3var args = ''; 4if (typeof language != 'undefined') args += '&language=' + language; 5 6var bypass = function (googleAPIcomponent, proxyURL) { 7 if (googleAPIcomponent.src.indexOf("common.js") == -1) { 8 document.head.appendChild(googleAPIcomponent); 9 } else { 10 var xhr = new XMLHttpRequest(); 11 xhr.onreadystatechange = function () { 12 if (this.readyState == 4 && this.status == 200) { 13 var script = document.createElement('script'); 14 script.innerHTML = this.responseText.replace(new RegExp(/;if\(!\w{1}\){.*Failure\(\)}/s), ";"); 15 document.head.appendChild(script); 16 } 17 }; 18 xhr.open("GET", proxyURL + googleAPIcomponent.src, true); 19 xhr.send(); 20 } 21} 22 23var xhr = new XMLHttpRequest(); 24xhr.onreadystatechange = function () { 25 if (this.readyState == 4 && this.status == 200) { 26 var script = document.createElement('script'); 27 var appendChildToHeadJS = this.responseText.match(/;\w{1}.appendChild\((\w{1})\)/); 28 var googleAPIcomponent = appendChildToHeadJS[1]; 29 script.innerHTML = this.responseText.replace(appendChildToHeadJS[0], ';(' + bypass.toString() + ')(' + googleAPIcomponent + ', "' + proxyURL + '")'); 30 document.head.appendChild(script); 31 } 32}; 33xhr.open("GET", proxyURL + encodeURIComponent('https://maps.googleapis.com/maps/api/js?key=:)&callback=initMap' + args), true); 34xhr.send();
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.