1function AddToFavorites() 2 3{ 4 5 var title = document.title; var url = location.href; 6 7 if (window.sidebar) // Firefox 8 9 window.sidebar.addPanel(title, url, ''); 10 11 else if(window.opera && window.print) // Opera 12 13 { 14 15 var elem = document.createElement('a'); 16 17 elem.setAttribute('href',url); 18 19 elem.setAttribute('title',title); 20 21 elem.setAttribute('rel','sidebar'); // required to work in opera 7+ 22 23 elem.click(); 24 25 } 26 27 else if(document.all) // IE 28 29 window.external.AddFavorite(url, title); 30 31}
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.