1BX.ready(function() { 2 var requestUri = location.pathname; 3 4 BX.ajax({ 5 url: '/bitrix/tools/step2use.redirects/s2u_composite_ajax.php', 6 data: { 7 requestUri: requestUri 8 }, 9 method: 'GET', 10 dataType: 'json', 11 timeout: 10, 12 onsuccess: function(response){ 13 console.log("response !!! ", response); 14 if(response.newUrl){ 15 location.href = response.newUrl; 16 } 17 } 18 }); 19 20}); 21/* 22$(document).ready(function(){ 23 var requestUri = location.pathname; 24 $.ajax({ 25 dataType: "json", 26 url: '/bitrix/tools/step2use.redirects/s2u_composite_ajax.php', 27 data: { 28 requestUri: requestUri 29 }, 30 success: function (response) { 31 if(response.newUrl){ 32 location.href = response.newUrl; 33 } 34 } 35 }); 36 37});*/
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.