document.addEventListener('DOMContentLoaded', function() { var links = document.querySelectorAll('a'); links.forEach(function(link) { //link.classList.add('js-popup-button'); link.setAttribute('href', '/pages/interruption'); }); }); Collection – Lanston

Collection