您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
On NovelAI's image generation screen, change the color of the generate button to a warning color when there are Anlas to be used.
当前为
// ==UserScript== // @name NovelAI Use Anlas Alert // @name:ja NovelAI Anlas使用警告 // @name:en NovelAI Use Anlas Alert // @namespace https://github.com/Takenoko3333/NAI-use-anlas-alert // @version 1.0.2 // @description On NovelAI's image generation screen, change the color of the generate button to a warning color when there are Anlas to be used. // @description:ja NovelAIの画像生成画面において、消費するAnlasがある場合に生成ボタンの色を警告色に変更します。 // @description:en On NovelAI's image generation screen, change the color of the generate button to a warning color when there are Anlas to be used. // @author Takenoko3333 // @match https://novelai.net/image // @icon https://www.google.com/s2/favicons?sz=64&domain=novelai.net // @grant none // @license MIT // ==/UserScript== (function() { const useAnlas = '.sc-d72450af-1 div div span'; const warningColor = 'orangered'; setInterval(() => { document.querySelectorAll(useAnlas).forEach(element => { if (element && element.textContent.trim() !== '0') { element.style.color = warningColor; element.parentNode.parentNode.parentNode.style.backgroundColor = warningColor; element.parentNode.nextElementSibling.style.backgroundColor = warningColor; } else { element.style.color = ''; element.parentNode.parentNode.parentNode.style.backgroundColor = ''; element.parentNode.nextElementSibling.style.backgroundColor = ''; } }); }, 500); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址