您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
让世界更加美好
// ==UserScript== // @name 115增加链接任务按钮 // @namespace http://tampermonkey.net/ // @version 20231005 // @description 让世界更加美好 // @author 塞北的雪 // @match https://115.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=115.com // @match https://115.com/* // @exclude https://115.com/s/* // @license MIT // ==/UserScript== (function() { var offlineTaskButton = ` <div class="my115Dropdown" id="my115Dropdown"> <div class="my115Dropbtn"> <a href="javascript:;" class="button btn-upload" menu="offline_task"><i class="icon-operate ifo-linktask"></i><span>新建链接任务</span></a> </div> </div> `; if (!$("#my115Dropdown").length > 0) { $(".left-tvf").eq(0).append(offlineTaskButton); } //重命名自定义增强 //https://gf.qytechs.cn/scripts/447226 let _indexOf = String.prototype.indexOf; Object.defineProperty(String.prototype, 'indexOf', { configurable: true, writable: true, value: function(search, start) { try { let me = String.prototype.indexOf; // caller is forbidden in strict mode, so try and catch exception simply. if (me.caller !== me) { if (me.caller.toString().indexOf('cache.suffix') != -1) { return -1; } } } catch (e) {} return _indexOf.apply(this, [search, start]); }, }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址