您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
em....很弱的脚本.DIG商店自动隐藏无卡及已拥有游戏
当前为
// ==UserScript== // @name Dailyindiegame Extension // @namespace http://tampermonkey.net/ // @description em....很弱的脚本.DIG商店自动隐藏无卡及已拥有游戏 // @match *://www.dailyindiegame.com/content* // @match *://dailyindiegame.com/content* // @require https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js // @version 20180510 // ==/UserScript== (function() { $(document).ready(function(){ var gameList,gameNum,gcard,owned,ownapp,digacc; gameList = $("tr.DIG3_14_Gray"); gameNum = gameList.length; for(var i=0;i<gameNum;i++){ gcard = gameList[i].children[2].innerText; console.log(gcard); if(gcard===""){ $(gameList[i]).hide(); } } digacc = $("td.DIG3_14_Orange"); for(var n=0;n<digacc.length;n++){ if(digacc[n].innerText===""){ $(digacc[n]).parent().hide(); } } setTimeout(function(){ owned = $("span[style='color: green; cursor: help;']"); for(var j=0;j<owned.length;j++){ ownapp = owned[j].innerText; if(ownapp===" ✔"){ $(owned[j]).parent().parent().hide(); } } //延迟时间 },4444); }); })();