1(function ($, Drupal) { 2 3 4 $(document).ready(function () { 5 var links = document.querySelectorAll('.footer-nav-column a'), 6 i, href; 7 8 for(i = 0; i < links.length; i++) { 9 href = links[i].getAttribute('href'); 10 //check the length of href.. is it less than 1 or is a space 11 if(href.trim().length < 1) { 12 //console.log(i + ' is null: ' + href); 13 links[i].setAttribute('href','javascript: Cookiebot.renew()'); 14 links[i].setAttribute('rel','nofollow'); 15 } 16 17 } 18 //$('.footer-nav-column').last().find('ul.menu').append('<li class="menu__item"><a href="javascript: Cookiebot.renew()">Cookie-Einstellungen ändern</a></li>') 19 }); 20 21})(jQuery);
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.