1// Create a new IntersectionObserver object 2let franchiseListViewObserver = new IntersectionObserver(function (entries, observer) { 3 for (let entry of entries) { 4 5 if (entry.isIntersecting) { 6 try { 7 console.log('ym:franchiseListView'); 8 ym(metricsId,'reachGoal','franchiseListView'); 9 } catch (e) {console.log(e);} 10 } 11 } 12}); 13 14for (let element of document.querySelectorAll('.ymg-fr-list')) { 15 franchiseListViewObserver.observe(element); 16}
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.