您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Ajoute un bouton pour voir le torrent sur ygglands
// ==UserScript== // @name Hash to YGGLands // @version 0.1 // @description Ajoute un bouton pour voir le torrent sur ygglands // @author Gyro3630 // @match *://*/* // @grant none // @namespace https://gf.qytechs.cn/users/1256993 // ==/UserScript== (function() { 'use strict'; var regex = /^https:\/\/.*\.ygg[a-z]{0,7}\.[a-z]{2,5}\/torrent\/.+/; function addYGGbutton() { if (regex.test(window.location.href)) { var infoHashCell = document.evaluate('//td[text()="Info Hash"]/following-sibling::td[1]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; console.log(infoHashCell.innerText); infoHashCell.innerHTML = infoHashCell.innerText+'<a target="_blank" href="https://yggland.fr/FAQ-Tutos/test-torrent-tracker-ygg.php?hash='+infoHashCell.innerText+'"><img style="height:20px;width:auto;" src="https://yggland.fr/assets/img/yggland-30.png"></a>'; } } window.addEventListener('load', addYGGbutton); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址