您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Set width to unset !important for divs with class names containing "tableContainer" on chat.openai.com
// ==UserScript== // @name chatgpt css // @description Set width to unset !important for divs with class names containing "tableContainer" on chat.openai.com // @match https://chat.openai.com/* // @match https://chatgpt.com/* // @version 0.0.1.20250613203142 // @namespace https://greasyfork.org/users/1435046 // ==/UserScript== (function() { const style = document.createElement('style'); style.textContent = ` div[class*="tableContainer"] { width: unset !important; } div[class*="tableContainer"] * { padding: unset !important; /*margin: unset !important;*/ height: unset !important; } /*[class*="katex"] { overflow-x: scroll; outline: solid red !important; }*/ .katex { overflow-x: auto; overflow-y: visible !important; } .katex .strut { display: unset !important; } /*v2 additions*/ /**:not([class*="fa-"]):not([class*="icon-"]):not([class*="material-"]):not([class*="fa"]):not([class*="icon"]):not([class*="material"]):not([class~="overflow-x-scroll"]) { /* overflow: unset !important; */ /* display: unset; */ margin: unset !important; padding: unset !important; width: unset !important; height: unset !important; position: unset !important; tab-size: unset !important; max-width: unset !important; min-width: unset !important; } div[class*="thread-content"] { overflow: auto !important; } */ `; document.head.appendChild(style); })();