ndow.addEventListener(‘DOMContentLoaded’, function() { var links = document.getElementsByTagName(‘a’); for (var i = 0; i < links.length; i++) { var link = links[i]; if (link.href.startsWith(‘http://’) || link.href.startsWith(‘https://’)) { link.href = ‘https://dh.anye6.cn/go.php?url=’ + link.href.replace(‘https://dh.anye6.cn/’, ”); } } });