1(function ($) { 2 "use strict"; 3 4 // Register before Kendo widgets initialize, including widgets loaded in modals. 5 $.ajaxPrefilter(function (options) { 6 var url = new URL(options.url, window.location.href); 7 if (url.origin !== window.location.origin || 8 !/\/[^/]+_Read\/?$/i.test(url.pathname) || 9 (options.type || "GET").toUpperCase() !== "POST") { 10 return; 11 } 12 13 var token = document.querySelector('meta[name="read-request-token"]'); 14 if (token && token.content) { 15 options.headers = $.extend({}, options.headers, { 16 RequestVerificationToken: token.content 17 }); 18 } 19 }); 20})(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.