[].forEach.call(document.querySelectorAll('a[href$="kontakty.html"], a[href$="o-kompanii.html"], a[href$="vakansii.html"]'), function(a) { a.setAttribute('rel', 'nofollow') });