您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Filter un-obtainable cheevos
当前为
// ==UserScript== // @name Achievement Filter // @namespace PXgamer // @version 0.1 // @description Filter un-obtainable cheevos // @author PXgamer // @match *kat.cr/achievements/ // @grant none // ==/UserScript== (function() { 'use strict'; var year = new Date().getFullYear(); $('table.achTable').before('<span class="showAllCheevos kaButton smallButton normalText">Show All</span> <span class="showOnlyCollected kaButton smallButton normalText">Show Only Achieved</span> <span class="showCurrentCheevos kaButton smallButton normalText">Show Current Achievements</span>'); // Only show achievements you've already got $('.showOnlyCollected').on('click', function() { $('table.achTable tbody tr td.width100perc ul li').each(function() { $(this).show(); }); $('table.achTable tbody tr td.width100perc ul li span.achBadge').each(function() { if (!$(this).hasClass('assignedAchievement')) { $(this).parent().hide(); } }); }); // Only current achievements $('.showCurrentCheevos').on('click', function() { $('table.achTable tbody tr td.width100perc ul li').each(function() { $(this).show(); }); $('table.achTable tbody tr td.width100perc ul li span.achBadge').each(function() { if (!$(this).hasClass('assignedAchievement') && $(this).children('a').children('span.achTitle').text().substring(0, 4) < year) { $(this).parent().hide(); } }); }); // Show all cheevos (reset) $('.showAllCheevos').on('click', function() { $('table.achTable tbody tr td.width100perc ul li').each(function() { $(this).show(); }); }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址