1var gaProperty = gaoptoutSettings.ua; 2var disableStr = 'ga-disable-' + gaProperty; 3 4if (document.cookie.indexOf(disableStr + '=true') > -1) { 5 window[disableStr] = true; 6} 7 8if( typeof gaOptout === 'undefined') { 9 function gaOptout() { 10 document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; 11 window[disableStr] = true; 12 } 13} 14 15jQuery(document).ready(function($){ 16 $('.gaoptout').on('click', function(e){ 17 e.preventDefault(); 18 19 gaOptout(); 20 21 alert( gaoptoutSettings.disabled ); 22 }); 23});
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.