ChatGPT AutoCleaner v5

Bugfix & speed-up for ChatGPT: automatically cleans the conversation chat window by trimming old messages (both in DOM and React memory). Keeps only the latest N turns visible, preventing lag and memory bloat on long sessions. Includes manual “Clean now” button and skips auto-clean when the tab is hidden.

目前為 2025-08-16 提交的版本,檢視 最新版本

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v1.5 2025-08-18
    • Reverted back React memory fixes.
  • v1.4 2025-08-16
    • Added safe replacement for arrays (safeReplaceArray) to avoid errors on frozen/immutable arrays.
    • Silently skipped frozen arrays instead of throwing.
    • Suppressed console spam on normal clean cycle (silent mode by default).
    • Cleaner logic tightened: DOM trim + React arrays handled more defensively.
    • Minor UI/style polish.
    • Added structured console logging (startup message, manual clean trigger, array/dom trim counts).
    • Frozen arrays are explicitly reported as "skipped", not treated as errors.
    • Optional debug hooks (commented-out logging lines) inserted for inspecting before/after counts.
  • v1.1 2025-08-16
  • v1.0 2025-07-26