Fixes sluggish typing in long Meta AI conversations. Kills transition:all bloat, freezes orphaned avatar canvases, adds CSS containment, and prunes hidden node render cost.
☕ If you find this tool helpful & would like to support its maintenance, please consider leaving a tip on:
Thank you! :-)
🖼 For a quick impression of this script, refer to the screenshots at the bottom.
Fixes sluggish typing in long Meta AI conversations. Kills transition:all bloat, freezes orphaned avatar canvases, adds CSS containment, and prunes hidden node render cost.
Meta AI gets noticeably slow after long chats because:
This script fixes all of that with surgical CSS and JS patches, no features removed.
transition:all globally and replaces it with a safe subset: color, background-color, border-color, outline-color, opacityscroll-behavior: auto on the chat scroller to eliminate scroll jankHTMLCanvasElement.getContext to track real draws.invisible parentscontain: style layout paint to stable chat subtreesPerformanceObserver to detect long tasks over 50msmeta.ai: All chat conversations, including long threads with 5,000+ messages
Designed for: Desktop browsers (Chrome, Firefox, Edge) with Violentmonkey or Tampermonkey
All defaults are in the DEFAULT_CONFIG at the top of the script, and are toggleable via the toolbar.
| Option | Default | Description |
|---|---|---|
transitionSurgery |
true |
Enable CSS Surgeon |
transitionSurgeryScope |
full |
full kills transitions globally, minimal only inside chat scroller |
canvasFreezer |
true |
Enable Canvas Freezer |
canvasFreezerMode |
aggressive |
aggressive freezes idle canvases, conservative only invisible ones |
canvasIdleThresholdMs |
30000 |
Idle time before aggressive freeze |
domContainment |
true |
Enable DOM containment CSS |
longTaskMonitor |
true |
Pause cleanup during long tasks |
janitorIntervalMs |
10000 |
How often the janitor runs |
showToolbar |
true |
Show floating stats toolbar |
| Action | Result |
|---|---|
| Hover toolbar | See live performance stats |
| Click toolbar | Open settings popover |
| Toggle a module | Instantly applies or removes the patch |
| Force full cleanup now | Runs janitor cycle immediately |
| Reset stats counters | Clears frozen canvas and long task counters |
| Reset all settings | Restores defaults from script |