1/* 2Track clicks from special elements 3Version: 2.0 4With help from: Ionut Staicu 5Copyright: See notice in adrotate-pro.php 6*/ 7 8document.addEventListener('click', (e) => { 9 const trackable = e.target.matches('a.gofollow') || e.target.closest('a.gofollow'); 10 11 if (!trackable) return; 12 13 fetch(click_object.ajax_url, { 14 method: 'POST', 15 headers: {'Content-Type': 'application/x-www-form-urlencoded'}, 16 body: new URLSearchParams([ 17 ['action', 'adrotate_click'], 18 ['track', trackable.getAttribute("data-track")] 19 ]) 20 }); 21});
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.