配置Aria2>>
// ==UserScript== // @name 百度网盘不限制下载-神速Down // @namespace https://github.com/AFANOOO/sspan // @version 6.7 // @author GreasyFork // @description 不限制速度下载的百度网盘解析脚本,无视黑号,拥有IDM/Aria2/Motrix三种方式任意体验极速下载!支持Microsoft Edge、Google Chrome、Firefox等浏览器 面向所有网友免费交流学习使用,更多功能正在完善中... // @license AGPL-3.0-or-later // @icon https://vitejs.dev/logo.svg // @match *://pan.baidu.com/* // @match *://yun.baidu.com/* // @match *://pan.baidu.com/disk/home* // @match *://yun.baidu.com/disk/home* // @match *://pan.baidu.com/disk/main* // @match *://yun.baidu.com/disk/main* // @match *://pan.baidu.com/s/* // @match *://yun.baidu.com/s/* // @match *://pan.baidu.com/share/* // @match *://yun.baidu.com/share/* // @connect localhost // @connect 127.0.0.1 // @connect baidu.com // @connect sswpdd.xyz // @require https://lib.baomitu.com/layui/2.9.3/layui.min.js // @require https://lib.baomitu.com/limonte-sweetalert2/11.10.2/sweetalert2.all.min.js // @require https://lib.baomitu.com/layui/2.9.3/layui.js // @resource customCSS https://lib.baomitu.com/layui/2.9.3/css/layui.css // @grant GM_xmlhttpRequest // @grant GM_addStyle // @grant GM_getResourceText // @run-at document-idle // @antifeature ads // ==/UserScript== var siteUrl = 'https://sswpdd.xyz'; $(function () { function wait(ms) { return Promise.resolve(new Promise((resolve) => setTimeout(resolve, ms))); } var closeimg = 'https://s11.ax1x.com/2024/01/04/pivYEjg.png'; const css = GM_getResourceText("customCSS"); GM_addStyle(css); if (!localStorage['jsonrpc']) { localStorage['jsonrpc'] = 'http://localhost:6800/jsonrpc'; } $('head').append(` `); var UA; var password = '6688'; // var requestTimeouts = 20000; // var timeoutId = setTimeout(function () { // Swal.fire({ // title: '系统提示', // text: '初始化脚本失败,可能后台无法通讯,也有可能正在被攻击。建议查看公告或者群消息获取最新信息。', // icon: 'error' // }); // }, requestTimeouts); let configDefault = { savePath: localStorage['savePath'] || 'D:\\SSDOWN', jsonRpc: localStorage['jsonRpc'] || 'http://localhost:6800/jsonrpc', token: localStorage['token'] || '', mine: localStorage['mine'] || '', code: '', }; // Usage layui.use(['layer', 'element'], async function () { var layer = layui.layer; var element = layui.element; if (location.href.match(/^https:\/\/pan\.baidu\.com\/s\/[^\s]*$/)) { //prepend是在最前面添加,加在后面用append $('.x-button-box').eq(0).prepend(''); } else if (location.href.startsWith('https://pan.baidu.com/disk/home')) { console.log(location.href, 22222222, $('.tcuLAu')); await wait(1000); $('.tcuLAu').prepend(''); } else { $('.wp-s-agile-tool-bar__header.is-header-tool').prepend('
'); } if (self == top) { $('body').append(` `); } var html = `当前文件
选项 ->下载->手动添加任务时使用的用户代理(UA) ->填入 LogStatistic。在IDM新建任务,粘贴饪接即可下载,
点击 推送到 Aria2(Motrix)将自动下载,支持Windows/MAC客户端需要需要设置保存路径。
开发中...
开发中...