1function auxo_elementor_go_back_event_listener (elements) { 2 elements.forEach(function (el) { 3 // Compute the real "back" URL 4 const previousURL = document.referrer 5 let targetURL = '/' // default fallback 6 7 if (previousURL && previousURL.startsWith(window.location.origin)) { 8 targetURL = previousURL 9 } 10 11 // â Replace the href value so it's clean and usable 12 el.setAttribute('href', targetURL) 13 14 // â Add click handler (optional, but keeps it stable) 15 el.addEventListener('click', function (e) { 16 e.preventDefault() 17 window.location.href = targetURL 18 }) 19 }) 20} 21 22// Run this after DOM is ready 23document.addEventListener('DOMContentLoaded', function () { 24 auxo_elementor_go_back_event_listener( 25 document.querySelectorAll( 26 'a[href="http://auxo_elementor_go_back()"], a[href="https://auxo_elementor_go_back()"]' 27 ) 28 ) 29})
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.