您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
优化了通义千问的问题颜色
// ==UserScript== // @name 通义千问界面小优化 // @namespace http://tampermonkey.net/ // @version 2024-04-03 // @description 优化了通义千问的问题颜色 // @author https://github.com/amarillys // @match https://tongyi.aliyun.com/qianwen/* // @icon https://www.google.com/s2/favicons?sz=64&domain=tongyi.aliyun.com // @grant GM_addStyle // @license MIT // ==/UserScript== (function() { 'use strict'; const css =` div[class^="questionItem--"] { background: lightslategrey; position: relative; border-radius: 8px; } div[class^="questionItem--"] .tongyi-ui-markdown { color: lightcyan; } div[class^="questionItem--"]::before { position: absolute; top: 0px; left: -60px; right: -20px; bottom: 0px; background-color: lightslategrey; content: ""; border-radius: 8px; }`; if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { let styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } // Your code here... })();