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바이트
라이선스
없음
동작 사이트

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.