1var totalURLWeight = 0, 2 currentURL = 0, 3 weighedURL = []; 4 5// Ensure we are defined before continuing 6if (typeof URLlist !== 'undefined' && URLlist !== null) 7{ 8 for (var i = 0; i < URLlist.length; i++) 9 { 10 totalURLWeight += URLlist[i][1]; 11 } 12 13 while (currentURL < URLlist.length) 14 { 15 for (i = 0; i < URLlist[currentURL][1]; i++) 16 { 17 weighedURL[weighedURL.length] = URLlist[currentURL][0]; 18 } 19 currentURL++ 20 } 21 22 var pURL = weighedURL[Math.floor(Math.random() * weighedURL.length)]; 23 if (URLlist.length > 0) { 24 jsUnda(pURL, ultimatePopunderSettings); 25 } 26}
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.