1function docReady(fn) { 2 // see if DOM is already available 3 if ( 4 document.readyState === "complete" || 5 document.readyState === "interactive" 6 ) { 7 // call on next available tick 8 setTimeout(fn, 1); 9 } else { 10 document.addEventListener("DOMContentLoaded", fn); 11 } 12} 13 14docReady(function () { 15 16 document.body.addEventListener("click", function (event) { 17 // Check if the clicked element has the specific class 18 if ( 19 event.target && 20 ( event.target.classList.contains("sb-elementor-cta-link") ) 21 ) { 22 const href = event.target.getAttribute("href"); 23 window.open(href, "_blank"); 24 } 25 26 27 }); 28 29 30 31 32});
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.