1(function($) { 2var isGoogleFont = function (element) { 3 // google font download 4 if (element.href && (element.href.indexOf('https://fonts.gstatic.com') === 0)) { 5 console.info('Prevented Roboto from loading!', element.href); 6 return true; 7 } 8 return false; 9} 10 11// we override these methods only for one particular head element 12// default methods for other elements are not affected 13var head = $('head')[0]; 14 15var insertBefore = head.insertBefore; 16head.insertBefore = function (newElement, referenceElement) { 17 if (!isGoogleFont(newElement)) { 18 insertBefore.call(head, newElement, referenceElement); 19 } 20}; 21 22var appendChild = head.appendChild; 23head.appendChild = function (textNode) { 24 if (!isGoogleFont($(textNode)[0])) { 25 appendChild.call(head, textNode); 26 } 27}; 28})(jQuery);
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.