1window.addEventListener("load", function() { 2 // Exit early if Sailthru was blocked by an ad-blocker 3 if(!window.Sailthru) return console.warn("Sailthru onsite JS failed to load."); 4 5 console.info("Sailthru onsite JS is loaded. Initializing Sailthru..."); 6 7 const customHandler = () => { 8 Sailthru.init({ 9 customerId: tag.options.customerId, 10 isCustom: true, 11 autoTrackPageview: tag.options.autoTrackPageview, 12 useStoredTags: tag.options.useStoredTags, 13 excludeContent: tag.options.excludeContent, 14 }); 15 } 16 17 if (tag.isCustom) { 18 if (docment.readyState === 'loading') { 19 document.addEventListener("DOMContentLoaded", customHandler); 20 } else { 21 customHandler(); 22 } 23 } else { 24 Sailthru.init({ 25 customerId: tag.options.customerId 26 }); 27 } 28});
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.