您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically disables your signature on all posts outside of a specific forum category
当前为
// ==UserScript== // @name Selective Signature // @version 2.0 // @description Automatically disables your signature on all posts outside of a specific forum category // @author Mr Whiskey // @include https://hackforums.net/showthread.* // @include https://hackforums.net/newreply.* // @include https://hackforums.net/newthread.* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js // @namespace http://www.fuckboygamers.club // ==/UserScript== $('input[name="postoptions[signature]"]').each(function(){ this.checked = true; }); // Disables checkmark for some reason if($('a:contains("Instinct")').length > 0 === false) // Checks if <a> link contains "Instinct" group $('input[name="postoptions[signature]"]').each(function(){ this.checked = false; }); // Enables checkmark for some reason