Login or create an account to make this text as human.
document.querySelectorAll('.redirect-link').forEach(function(link) {
// Add a click event listener to each link
link.addEventListener('click', function() {
// Redirect to the URL specified in the data-url attribute
window.location.href = link.getAttribute('data-url');
});
});