Fix ChatGPT White Message Bug – Dark Mode Background Patch (Tampermonkey UI Override)

Override background color on ChatGPT message surface

लेखक
Brian Hurd
दैनिक इंस्टॉल
0
एकूण इंस्टॉल
1
रेटिंग
0 0 0
आवृत्ती
1.0
बनवली
2025-04-03
अपडेट केली
2025-04-03
आकार
788 Bytes
License
नाही
यांवर लागू होते:

Fixes the ChatGPT white message bug that appears in dark mode when user messages have a white background instead of matching the dark theme.

  • ✅ Injects a CSS override to restore background color
  • ✅ Lightweight and non-intrusive
  • ✅ Uses Tampermonkey, no permissions needed

Bug example:

ChatGPT white background bug screenshot

Technical details:

  • Targets .bg-token-message-surface class
  • Applies background-color: var(--main-surface-secondary)
  • Injected after 500ms delay to ensure DOM readiness

Install with Tampermonkey. Customize the CSS if desired.