1(function(global, doc) { 2 global.iOSLinkFix = function() { 3 var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !global.MSStream; 4 5 if(iOS) { 6 var allPageAnchors = doc.getElementsByTagName('a'); 7 allPageAnchors.forEach(function(anchor) { 8 anchor.addEventListener('click', function(e) { 9 e.preventDefault(); 10 11 global.location=this.getAttribute('href'); 12 return false; 13 }); 14 }); 15 } 16 }; 17}(window, document));
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.