// Target by class name
window.onload = function(){
const dynamicMonsterLinks = document.querySelectorAll("a.myClass");
dynamicMonsterLinks.forEach(dynamicMonsterLinks => dynamicMonsterLinks.href = "MONSTERLINK_URL");
}