您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fix links in 5ch thread page so it will directly jump to the target page
// ==UserScript== // @name Fix redirect links in 5ch // @namespace https://gf.qytechs.cn/users/57176 // @match https://*.5ch.net/*/read.cgi/** // @icon https://egg.5ch.net/favicon.ico // @grant none // @version 1.0.0 // @author peng-devs // @description Fix links in 5ch thread page so it will directly jump to the target page // @license MIT // ==/UserScript== (function() { 'strict'; const NAME = 'fix-5ch-redirect-links'; function main() { console.log(`[${NAME}] initializing...`); document.querySelectorAll('a[target="_blank"]').forEach(a => { const url = new URL(a.href); if (url.host !== 'jump.5ch.net') return; a.href = a.href.split('?')[1]; }); console.log(`[${NAME}] loaded`); } main(); }());
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址