Greasy Fork

Greasy Fork is available in English.

天雪自动购买复制网盘链接

批量下载用

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         天雪自动购买复制网盘链接
// @namespace    http://greasyfork.icu/zh-CN/users/927834-lemonade1
// @version      2024-12-30
// @description  批量下载用
// @author       柠檬汽水
// @license      GPL3.0
// @match        https://www.skyey2.com/forum.php?mod=viewthread&tid=*
// @match        https://skyeysnow.com/forum.php?mod=viewthread&tid=*
// @icon         http://skyey2.com/favicon.ico
// @grant        none
// ==/UserScript==

(function() {
    setInterval(function(){
        var r1 = document.querySelector("#forum_torrents > div.pcb > div.t_fsz > table > tbody > tr > td > div.quote");
        var r2 = document.querySelector("#forum_torrents > div.pcb > div.t_fsz > table > tbody > tr > td > div.blockcode > em");
        var r3 = document.querySelector("#forum_torrents > div.pcb > div.t_fsz > table > tbody > tr > td > i");
        var n1 = 0;var n2 = 0;var n3 = 0;
        if(r1 !=null && n1==0){r1.remove();n1 += 1};
        if(r2 !=null && n2==0){r2.remove();n2 += 1};
        if(r3 !=null && n3==0){r3.remove();n3 += 1};
    }, 100);
    setInterval('if(document.hasFocus() && document.querySelector("#forum_torrents > div.pcb > div.t_fsz > table > tbody > tr")!=null){var text = document.querySelector("#postlist > table:nth-child(1) > tbody > tr > td.plc.ptm.pbn.vwthd > h1 > a").textContent + document.querySelector("#thread_subject").textContent;navigator.clipboard.writeText(text + document.querySelector("#forum_torrents > div.pcb > div.t_fsz > table > tbody > tr").textContent);console.log(text + document.querySelector("#forum_torrents > div.pcb > div.t_fsz > table > tbody > tr").textContent)}',100);
    if(document.querySelector("a.y.viewpay") !=null){document.querySelector("a.y.viewpay").click()};
    setInterval('if(document.querySelector("#payform > div.o.pns > button")!=null){document.querySelector("#payform > div.o.pns > button").click()}', 100);
})();