您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hide baseball results from the notifications page so that more important notifications are not concealed.
// ==UserScript== // @name Hide Baseball Notifications // @namespace http://knightsradiant.pw/ // @version 0.11 // @description Hide baseball results from the notifications page so that more important notifications are not concealed. // @author Talus // @match https://politicsandwar.com/nation/notifications/ // @require https://code.jquery.com/jquery-3.6.0.min.js // @license GPL-3.0-or-later // @grant none // ==/UserScript== (function() { var notificationsTablesPath = '#rightcolumn > div > table > tbody > tr'; var oblGameMatch = ':contains("Your OBL team")'; var $ = window.jQuery; $(notificationsTablesPath).each(function(){ console.log('yay'); if ($(this).is(oblGameMatch)){ $(this).hide(); } }); })();