您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
help you draw the rewards of missionassign by one key
// ==UserScript== // @name DLD missionassign assistant // @namespace http://tampermonkey.net/ // @version 2.0 // @description help you draw the rewards of missionassign by one key // @author You // @match https://dld.qzapp.z.qq.com/qpet/cgi-bin/phonepk?zapp_uin=&B_UID=0&sid=&channel=0&g_ut=1&cmd=missionassign&subtype=0 // @require https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js // @grant none // ==/UserScript== function request(url, callback){ $.ajaxSettings.async = false; let retData; $.get(url, function(data){ retData = data; }); return retData; }; (function() { 'use strict'; let $a = $("<a>一键</a>").css("color", "red"); $a.on('click', function(e) { $("a").each(function(){ if($(this).text() == "查看"){ let url = $(this).attr("href").replace("subtype=1", "subtype=5") request(url); }; }); window.location.reload(); }); $("a").first().after($a); })();