1 2window.log = function(){ 3 log.history = log.history || []; 4 log.history.push(arguments); 5 if(this.console){ 6 console.log( Array.prototype.slice.call(arguments) ); 7 } 8}; 9 10(function(doc){ 11 var write = doc.write; 12 doc.write = function(q){ 13 log('document.write(): ',arguments); 14 if (/docwriteregexwhitelist/.test(q)) write.apply(doc,arguments); 15 }; 16})(document); 17 18(function($) { 19 var cache = []; 20 // Arguments are image paths relative to the current page. 21 $.preLoadImages = function() { 22 var args_len = arguments.length; 23 for (var i = args_len; i--;) { 24 var cacheImage = document.createElement('img'); 25 cacheImage.src = arguments[i]; 26 cache.push(cacheImage); 27 } 28 } 29})(jQuery);
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.