1(function($){ 2 $().ready(function(){ 3 //DP API 4 $('a#go-to-dp').click(function(e){ 5 e.stopPropagation(); 6 e.preventDefault(); 7 var redirect_to = encodeURIComponent($(this).attr('href')); 8 $.ajax({ 9 url: '/sites/all/modules/bg_dp/bg_dp.ajax.php', 10 data: {ajax: true, redirect_to: redirect_to}, 11 cache: false, 12 success: function(response){ 13 if (JSON.parse(response).dpURL.length > 0) 14 { 15 console.log(JSON.parse(response).dpURL); 16 window.location.href = JSON.parse(response).dpURL; 17 } 18 }, 19 }) 20 }); 21 }); 22})(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.