PageSourceSearch

https://shop.astonmartinf1.com/on/demandware.static/Sites-AMF1-Site/-/en_GB/v1790236710140/js/chatNow.js

js astonmartinf1.com collected 2026-09-24 08:51:06 UTC 1,319 bytes, 1 lines download raw bytes

1(()=>{window.activateChat=function(e){e.preventDefault(),document.dispatchEvent(new CustomEvent("chat:activate",{}))},window.isBusinessHoursOpen=!0;let e=null;window.sfscMessagingBusinessHoursUrl&&window.sfscOrganizationId&&window.sfscChatESWConfigDevName&&(e=window.sfscMessagingBusinessHoursUrl+"?orgId="+window.sfscOrganizationId+"&esConfigName="+window.sfscChatESWConfigDevName,fetch(e).then(e=>e.json()).then(e=>{const n=Date.now();window.isBusinessHoursOpen=e.businessHoursInfo.businessHours.some(e=>n>=e.startTime&&n<=e.endTime)}).catch(()=>{window.isBusinessHoursOpen=!0})),document.addEventListener("DOMContentLoaded",()=>{document.addEventListener("chat:activate",()=>{if(window.chatESWEnabled&&!window.isBusinessHoursOpen&&window.offlineSupportPageUrl)window.location.href=window.offlineSupportPageUrl;else if(window.chatESWEnabled){const e=document.querySelector("#embedded-messaging"),n=document.querySelector("#embeddedMessagingConversationButton"),o=document.querySelector("#embeddedMessagingFrame");e&&n&&!o&&n.click()}else{const e=document.querySelector(".embeddedServiceHelpButton > .helpButton > button");e&&e.classList.contains("helpButtonEnabled")?document.querySelector("button.helpButtonEnabled").click():window.offlineSupportPageUrl&&(window.location.href=window.offlineSupportPageUrl)}})})})();

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.