您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This user script modifies the appearance and behavior of the KeepChatGPT user script on the OpenAI Chat page. It removes the banner text to make it less intrusive. Additionally, it adjusts certain color schemes for better visibility.The script ensures that all functionality provided by the KeepChatGPT user script remains intact and accessible.
当前为
// ==UserScript== // @name KeepChatGPT Disable Banner but keep Options and Settings // @author Ameer Jamal // @version 1.0 // @namespace http://tampermonkey.net/ // @description This user script modifies the appearance and behavior of the KeepChatGPT user script on the OpenAI Chat page. It removes the banner text to make it less intrusive. Additionally, it adjusts certain color schemes for better visibility.The script ensures that all functionality provided by the KeepChatGPT user script remains intact and accessible. // @match https://chat.openai.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; function removeTextAndAdjustHeight(target) { if (target.id === 'kcg') { target.textContent = ''; target.style.height = '1px'; target.style.padding = '5px'; } } function modifyStyles() { // Remove @keyframes gradient and .shine::before let styleSheets = document.styleSheets; for (let i = 0; i < styleSheets.length; i++) { let rules = styleSheets[i].cssRules; for (let j = 0; j < rules.length; j++) { if (rules[j].name === 'gradient' || (rules[j].selectorText && rules[j].selectorText.includes('.shine::before'))) { styleSheets[i].deleteRule(j); j--; } } } // Create a new style element for modifying .kgold, .kmenu, and .checked path let style = document.createElement('style'); style.textContent = ` .kgold { color: #000000 !important; background: #202123 !important; } .kmenu { background-color: #000000 !important; } .checked path { fill: #30D158 !important; } `; document.head.appendChild(style); } // Call the function to initially apply the styles modifyStyles(); // Observe the document body for added nodes let observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (mutation.type === 'childList') { mutation.addedNodes.forEach(function(node) { if (node.id === 'kcg') { removeTextAndAdjustHeight(node); } }); } }); }); observer.observe(document.body, { childList: true, subtree: true }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址