您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically disables your signature on all posts outside of a specific forum category
当前为
- // ==UserScript==
- // @name Signature Killer
- // @version 1.2
- // @description Automatically disables your signature on all posts outside of a specific forum category
- // @author Mr Whiskey
- // @match https://hackforums.net/showthread.php?*
- // @match https://hackforums.net/newreply.php?*
- // @namespace http://www.fuckboygamers.club
- // ==/UserScript==
- if (!/Illuminati/i.test (document.body.innerHTML)) // Checks for "Illuminati" on the page. If not found, continues
- if(!/Crews and Clans Private Forums/i.test (document.body.innerHTML)) // Checks for "Crews and Clans Private Forums" on page if "Illuminati" is on the page. If not found, continues
- boxChecker([].slice.call(document.querySelectorAll('input[type="checkbox"]'))); // Runs boxChecker, unchecking every checkbox.
- else // OPTIONAL:
- alert("Signature Enabled"); // If you want to know when your signature will be displayed
- function boxChecker(boxes){boxes.forEach(function(box){box.checked = false;});} // Unchecks every checkbox