您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Copy direct Links inside a Folder.
// ==UserScript== // @name Seedr Copy Links. // @namespace https://github.com/Neokyuubi/seedr-copy-direct-links-at-once // @supportURL https://github.com/Neokyuubi/seedr-copy-direct-links-at-once/issues // @require https://unpkg.com/[email protected]/dist/sweetalert.min.js // @version 1.3 // @description Copy direct Links inside a Folder. // @author Neokyuubi // @match https://www.seedr.cc/* // @grant GM_setClipboard // ==/UserScript== /* globals jQuery, $, waitForKeyElements, swal */ (function() { 'use strict'; let elements = []; let links = ""; let sleep = (delay) => new Promise((resolve)=>setTimeout(resolve, delay)); async function seedr() { try { jQuery.unique($("span .fa.fa-copy")).each(function(index) { elements.push($(this)); }); // console.log(elements); for (let i = 0; i < elements.length; i++) { await sleep(200); elements[i].parent().parent().parent().parent().contextmenu(); await sleep(300); let text = $("#clipboard-div").attr("data-clipboard"); // filter here if mp4 or mkv links += (i<elements.length -1) ? text + "\n" : text; } //console.log(links); GM_setClipboard(links); swal("Links are copied successfully!", elements.length + " links are copied", "success"); } catch(err) { //console.log("errors : " + err); swal(err, "error"); } } $(document).bind('keypress', function(event) { if( event.which === 81 && event.shiftKey) { event.preventDefault(); setTimeout(function() { elements = []; links = ""; seedr(); }, 100); } }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址