1(function(styleSheetLinks) { 2 'use strict'; 3 function setMedia(styleSheet) { 4 styleSheet.media = 'screen'; 5 styleSheet.href = styleSheet.dataset ? styleSheet.dataset.href : styleSheet.getAttribute('data-href'); 6 } 7 8 for (var i = 0, totalStyleSheetLinks = styleSheetLinks.length; i < totalStyleSheetLinks; i++) { 9 if (styleSheetLinks[i].getAttribute('media') === 'onlyX') { 10 setMedia(styleSheetLinks[i]); 11 } 12 } 13})(document.getElementsByTagName('link'));
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.