Last active
December 2, 2025 12:22
-
-
Save DediqaTech/b71a53c0fa4edfce6bf6a905642c82f3 to your computer and use it in GitHub Desktop.
ChatGPT fix stupid sticky button & other fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name ChatGPT fix stupid sticky button & other fixes | |
| // @author DediqaTech | |
| // @namespace https://github.com/DediqaTech | |
| // @version 1.1 | |
| // @description Move the annoying sticky scroll button to the bottom right | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=chatgpt.com | |
| // @downloadURL https://gist.github.com/DediqaTech/b71a53c0fa4edfce6bf6a905642c82f3/raw/ff376de507c0418a0192d13c356b995c936f58a6/dediqatech-chatgpt-ui-fixes.user.js | |
| // @updateURL https://gist.github.com/DediqaTech/b71a53c0fa4edfce6bf6a905642c82f3/raw/ff376de507c0418a0192d13c356b995c936f58a6/dediqatech-chatgpt-ui-fixes.user.js | |
| // @match https://chatgpt.com/* | |
| // @match https://chat.openai.com/* | |
| // @run-at document-idle | |
| // ==/UserScript== | |
| (function() { | |
| "use strict"; | |
| const styleElement = document.createElement("style"); | |
| styleElement.textContent = ` | |
| div:has(article) > div:last-child > button { | |
| right: 40px !important; | |
| left: auto !important; | |
| bottom: 40px !important; | |
| } | |
| html.light [data-message-author-role="user"].text-message > .w-full > .user-message-bubble-color { | |
| background: #d9d9d9 !important; | |
| } | |
| [data-message-author-role="user"] :is(pre, code) { | |
| background: #f3f3f3 !important; | |
| } | |
| article[data-turn="assistant"] pre > div:first-child { | |
| border: 1px solid #cdcdcd !important; | |
| } | |
| `; | |
| document.head.appendChild(styleElement); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment