1(function ($, Drupal) { 2 Drupal.behaviors.pageView = { 3 attach: function (context, settings) { 4 once("pageView", "body").forEach(function (element) { 5 var nid; 6 $(".block-field-blocknodearticlenid .field--name-nid .field__item").each(function() { 7 nid = $(this).html(); 8 }); 9 var title = $(".field--name-title").html().trim(); 10 //console.log("pageView init. nid: " + nid + " title: " + title); 11 $.get("https://utils.seneplus.com/pageviews.php?action=update&nid=" + nid + "&title=" + title); 12 $(".most-viewed-this-week-list").load("/sites/default/files/static/week_page_views.html"); 13 }); 14 } 15 }; 16})(jQuery, Drupal);
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.