您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
description
- // ==UserScript==
- // @name TC All Alone
- // @namespace namespace
- // @version 0.1
- // @description description
- // @license MIT
- // @author tos
- // @match *.torn.com/factions.php*
- // @grant none
- // ==/UserScript==
- setTimeout(() => {
- for (const div of document.querySelectorAll('div[class^=userStatus]')) {
- div.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" class="default___XXAGt " filter="" fill="url("#svg_status_offline")" stroke="#fff" stroke-width="0" width="13" height="13" viewBox="-1.5 -1.2 14 14"><g xmlns="http://www.w3.org/2000/svg"><path d="M0,6a6,6,0,1,1,6,6A6,6,0,0,1,0,6Z"></path><path d="M3,5H9V7H3Z" fill="#f2f2f2"></path></g></svg>'
- }
- }, 3000)