1$(function() { 2 var TEL_CLICK_LOG_API_URL = CMS_API_URL + '/ajax/tel-click-log/'; 3 4 $(document).on('click', ".tel_area a[href^='tel:'], .tel_v2_area a[href^='tel:']", function(event) { 5 var telHref = this.getAttribute('href') || ''; 6 var tel = telHref.replace(/^tel:/i, '').trim(); 7 if (!tel || !navigator.sendBeacon) { 8 return; 9 } 10 11 event.preventDefault(); 12 navigator.sendBeacon(TEL_CLICK_LOG_API_URL, new URLSearchParams({ 13 tel: tel, 14 shop_id: SHOP_ID, 15 path: location.pathname 16 })); 17 window.location.href = telHref; 18 }); 19});
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.