1/* 2 3$j(document).ready(function() { 4 console.log('b'); 5 $j('span[data-link!=""][data-link]').each(function() 6 { 7 var linkAnchor = ($j(this).html().length > 0) ? $j(this).html() : $j(this).data('link'), 8 realLink = "<a href='" + $j(this).data('seolink') + "' target='_blank'>" + linkAnchor + "</a>"; 9 $j(this).after(realLink).remove(); 10 }); 11}); 12*/ 13function foreObject(x){ 14 var y = "{"; 15 $j.each(x, function( key, value ) { 16 y += "'" +key + "':'" + value + "',"; 17 }); 18 return y+"}"; 19} 20$j(document).ready(function() { 21 $j("span.external-data-config").replaceWith(function() { 22 return '<a href="' + $j(this).data('link') + '" data-config="' + foreObject($j(this).data('config')) + '" class="' + $j(this).attr('class') + '" rel="nofollow">' + $j(this).html() + '</a>'; 23 }); 24 $j("span.external-data-href").replaceWith(function() { 25 return '<a href="' + $j(this).data('link') + '" class="' + $j(this).attr('class') + '" rel="nofollow">' + $j(this).html() + '</a>'; 26 }); 27});
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.