1jQuery(document).ready(function ($) { 2 3 $('.tpp_link').click(function (e) { 4 e.preventDefault(); 5 6 var url = $(this).attr('href'); 7 var skin = $(this).attr('data-skin') 8 var target = $(this).attr('target'); 9 10 11 12 $.ajax({ 13 type: "POST", 14 url: tpp.ajaxurl, 15 data: 'action=tpp_ajax' + '&url=' + url + '&skin=' + skin, 16 success: function() { 17 if (target == '_blank') { 18 window.open(url, '_newtab'); 19 } else { 20 window.location = url; 21 } 22 }, 23 failure: function() { 24 if (target == '_blank') { 25 window.open(url , '_newtab'); 26 } else { 27 window.location = url; 28 } 29 } 30 }); 31 32 33 }); 34 35});
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.