不知道是不是我的问题,各位佬你们那边怎么样,原来的背景颜色大概是 #181818 附近的
已严肃 vibe 修复
// ==UserScript==
// @name ChatGPT Background Fix #181818
// @namespace https://chatgpt.com/
// @version 1.0.0
// @description Force ChatGPT web dark background to #181818
// @match https://chatgpt.com/*
// @match https://chat.openai.com/*
// @run-at document-start
// @grant GM_addStyle
// ==/UserScript==
(function () {
'use strict';
const bg = '#212121';
GM_addStyle(`
:root,
html,
body,
html.dark,
html.dark body,
html[data-theme],
html.dark[data-oai],
html.dark[data-oai] body,
html.dark[data-oai][data-oid],
html.dark[data-oai][data-oid] body {
--bg-primary: ${bg} !important;
--main-surface-primary: ${bg} !important;
--main-surface-secondary: ${bg} !important;
--composer-surface-primary: ${bg} !important;
--sidebar-surface-primary: ${bg} !important;
}
html,
body {
background-color: ${bg} !important;
}
`);
})();
2 个帖子 - 2 位参与者