1{ 2 const tvSquared = `var _tvq = window._tvq = window._tvq || [];(function() {var u = (("https:" == document.location.protocol) ?"https://collector-21571.us.tvsquared.com/":"http://collector-21571.us.tvsquared.com/");_tvq.push(['setSiteId', "TV-7281452781-1"]);_tvq.push(['setTrackerUrl', u + 'tv2track.php']);_tvq.push([function() {this.deleteCustomVariable(5, 'page')}]);_tvq.push(['trackPageView']);var d = document,g = d.createElement('script'),s = d.getElementsByTagName('script')[0];g.type = 'text/javascript';g.defer = true;g.async = true;g.src = u + 'tv2track.js';s.parentNode.insertBefore(g, s);})();`; 3 4 const addComment = function (comment){ 5 const commentNode = document.createComment(comment); 6 document.getElementsByTagName('head')[0].appendChild(commentNode); 7 } 8 9 const addScript = function (script){ 10 const scriptNode = document.createElement('script'); 11 scriptNode.type = 'text/javascript'; 12 scriptNode.innerText = script; 13 document.getElementsByTagName('head')[0].appendChild(scriptNode); 14 } 15 16 addComment(' Begin TVSquared Tracking Code '); 17 addScript(tvSquared); 18 addComment(' End TVSquared Tracking Code '); 19}
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.