您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script removes the redirect on magnet links on the site torrentproject2.se
// ==UserScript== // @name torrentproject2 - remove magnet link redirects // @namespace Violentmonkey Scripts // @match https://torrentproject2.se/* // @description This script removes the redirect on magnet links on the site torrentproject2.se // @grant none // @version 0.0.2 // ==/UserScript== Array.from(document.querySelectorAll('.download_magnet + a')).forEach(link => { if(link.href && link.href.startsWith('https://mylink.me.uk')){ link.href = decodeURIComponent(link.href.slice(26)) } })