1 2 3function skiplinks() { 4 var skip = document.getElementById('skip'); 5 var linkNames = ['Zur Startseite: [Alt] + ', 'Zum Hauptmenü: [Alt] + ', 'Zum Headermenü: [Alt] + ', 'Zum Inhalt: [Alt] + ', 'Zum rechten Bereichsmenü: [Alt] + ', 'Zur Sitemap: [Alt] + ', 'Zum Footer: [Alt] + ']; 6 var linkNumber = ['[0]', '[1]', '[2]', '[3]', '[4]', '[5]', '[6]']; 7 var linkHref = ['start.aspx', '#skipnavigation', '#skipheadermenu', '#skipinhalt', '#skip_navipart_right', '#skipmap', '#skipfooter']; 8 var url = window.location; 9 10 for ( var i = 0 ; i < linkNames.length ; i++){ 11 var sLink = document.createElement('a'); 12 var sSpan = document.createElement('span'); 13 var sSpanNumber = document.createElement('span'); 14 if(i == 0){ 15 sLink.setAttribute('href', linkHref[0]); 16 } 17 else { 18 sLink.setAttribute('href', url.origin + url.pathname + url.search + linkHref[i]); 19 } 20 21 sLink.setAttribute('class', 'sr-only sr-only-focusable'); 22 sLink.setAttribute('accesskey', i); 23 sSpan.setAttribute('class', 'skipLinkText'); 24 sSpan.innerText = linkNames[i]; 25 sSpanNumber.setAttribute('aria-hidden', 'true'); 26 sSpanNumber.innerText = linkNumber[i]; 27 sLink.appendChild(sSpan); 28 sLink.appendChild(sSpanNumber); 29 skip.appendChild(sLink); 30 } 31 32} 33 34skiplinks();
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.