Registrati Accedi
n/program · 2025-02-07 · 460 visualizzazioni
u/chendayeArgento
n/programu/chendaye · 2025-02-07

【油猴脚本】移除NL论坛的跳转链接

移除超链接的重定向,直接访问原始地址

</i>(function () {
document.querySelectorAll('a[href]').forEach(link =&gt; {
let href = link.getAttribute('href');
if (href &amp;&amp; href.includes('/goto/')) {
href = href.replace('/goto/', '').replace("%3A%2F%2F","://").replace("%2F","/")
link.setAttribute('href', href);
}
});
})();<i>
</i><e>```</e></r>
0
2
Accedi per partecipare alla discussione.
u/udc2b6nr Annuncio
QuicksilverVPN

快银 VPN,一键连接全球节点,线路稳定、延迟低。支持 Windows、macOS 等多平台,TUN 全局模式覆盖全部应用流量。无需复杂配置,下载即用。

umami.dnsl.top Scopri di più

2 risposte

Ordinamento
  1. alay Platino 3 ANNI 2025-02-07

    这个不错。不是很早就有油猴脚本了吗?我用的是有这个功能啊!

    0
  2. chendaye Argento OP 2025-02-07

    @"alay"#p232163 没注意,很久没逛论坛了,很多帖子都还没刷到

    0