1/** 2 * Chartbeat integration 3 */ 4 5(function() { 6 /** CONFIGURATION START **/ 7 var _sf_async_config = window._sf_async_config = (window._sf_async_config || {}); 8 9 _sf_async_config.uid = 58662; 10 _sf_async_config.domain = 'middleeasteye.net'; 11 _sf_async_config.flickerControl = false; 12 _sf_async_config.useCanonical = true; 13 _sf_async_config.useCanonicalDomain = true; 14 if (drupalSettings.node) { 15 _sf_async_config.sections = drupalSettings.node.type; 16 _sf_async_config.authors = drupalSettings.node.author; 17 } 18 /** CONFIGURATION END **/ 19 function loadChartbeat() { 20 var e = document.createElement('script'); 21 var n = document.getElementsByTagName('script')[0]; 22 e.type = 'text/javascript'; 23 e.async = true; 24 e.src = '//static.chartbeat.com/js/chartbeat.js'; 25 e.defer = 'defer'; 26 n.parentNode.insertBefore(e, n); 27 } 28 loadChartbeat(); 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.