1jQuery(document).ready(function($) { 2 if(values_target.url){ 3 var url = values_target.url; 4 url = url.replace(new RegExp(/https?:\/\//g),""); 5 url = url.replace(new RegExp(/\//g),"\\\/"); 6 $("a").each(function(index, element) { 7 var regex = new RegExp(url,'g'); 8 if(typeof $(element).attr('href') !== 'undefined' && !$(element).attr('href').match(regex)){ 9 regex = new RegExp('http','g'); 10 if($(element).attr('href').match(regex)){ 11 if($(element).attr("target")==undefined || $(element).attr("target")!="_self") 12 $(element).attr('target','_blank'); 13 } 14 } 15 }); 16 } 17 18 19 20 21});
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.