移除超链接的重定向,直接访问原始地址
js</s><i> </i>(function () { document.querySelectorAll('a[href]').forEach(link => { let href = link.getAttribute('href'); if (href && href.includes('/goto/')) { href = href.replace('/goto/', '').replace("%3A%2F%2F","://").replace("%2F","/") link.setAttribute('href', href); } }); })();<i> </i><e>