1$(window).on('load',function () { 2 3 buildSiteMap(); 4 5 function buildSiteMap() { 6 var $subNav = $("#main-menu-1"); 7 var $subNavCopy = $subNav.clone(); 8 var $sideNavDiv = $('#siteMap').append($subNavCopy); 9 10 $level = 0; 11 stripAttributes($subNavCopy, $level); 12 } 13 14 function stripAttributes($items, $level){ 15 if ($level == 11){ 16 return; 17 } 18 19 $items.removeAttr('id'); 20 $items.removeAttr('class'); 21 $items.removeAttr('role'); 22 $items.removeAttr('tabindex'); 23 $items.removeAttr('style'); 24 $items.removeAttr('aria-haspopup'); 25 $items.removeAttr('accesskey'); 26 $('div#siteMap ul img').remove(); 27 $('div#siteMap li a[href="javascript:void(0);"]').remove(); 28 $('div#siteMap h4 span[class="fa fa-chevron-right"]').remove(); 29 30 $level++; 31 stripAttributes($items.children(), $level); 32 } 33 34});
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.