1(function () { 2 const excludedPaths = [ 3 "/en/bookstore", 4 "/en/authorcenter", 5 "/authorcenter" 6 ]; 7 8 const currentPath = window.location.pathname.toLowerCase(); 9 10 const isExcluded = excludedPaths.some(path => 11 currentPath.startsWith(path) 12 ); 13 14 if (isExcluded) { 15 return; 16 } 17 18 const schema = { 19 "@context": "https://schema.org", 20 "@type": "Organization", 21 "@id": "https://www.trafford.com/en/#organization", 22 "name": "Trafford Publishing", 23 "alternateName": "Trafford", 24 "url": "https://www.trafford.com/en/", 25 "logo": "https://www.trafford.com/-/media/asl/images/trafford/tf-logo.ashx" 26 }; 27 28 const script = document.createElement("script"); 29 script.type = "application/ld+json"; 30 script.textContent = JSON.stringify(schema); 31 32 document.head.appendChild(script); 33})();
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.