您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A hotfix for the CS Helper extension to fix renaming not working
- // ==UserScript==
- // @name CS Helper Rename Hotfix
- // @namespace https://www.chickensmoothie.com/Forum/memberlist.php?mode=viewprofile&u=1032262
- // @version 1.0
- // @description A hotfix for the CS Helper extension to fix renaming not working
- // @author OreozHere
- // @match https://www.chickensmoothie.com/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- function removeImages() {
- const images = document.querySelectorAll('img[src="/img/icons/refresh24-red.png"][alt="Generate seasonal name"]');
- images.forEach(img => img.remove());
- }
- removeImages();
- const observer = new MutationObserver(removeImages);
- observer.observe(document.body, {
- childList: true,
- subtree: true
- });
- })();