Stop squinting at a 600px column. Use your whole damn screen.
A lightweight userscript that removes the max-width constraints on AI chat interfaces, giving your conversations the full width of your browser window.
| Platform | Status |
|---|---|
| Claude | ✅ Full support (CSS injection, SPA-safe) |
| ChatGPT | ✅ Full support (DOM observer) |
| Gemini | ✅ Full support (DOM observer) |
Requires a userscript manager:
- Violentmonkey (recommended)
- Tampermonkey
- Greasemonkey
Then click:
Your userscript manager will prompt you to confirm installation. That's it.
Each platform uses a different strategy optimized for its DOM structure:
- Claude — Injects a
<style>element atdocument-start. Pure CSS, zero DOM manipulation, survives SPA route transitions without re-triggering. Targetsdata-test-render-count,data-is-streaming, and Tailwindmax-w-*classes. - ChatGPT — Waits for
.text-baseelements, then applies inlinemax-width: 98%with aMutationObserverto catch dynamically added messages. - Gemini — Same observer pattern, targeting
.conversation-container.
The width is set via the WIDTH constant at the top of the script:
const WIDTH = '98%';Change it to whatever you prefer — 90%, 1600px, 100vw, etc.
A userscript is simpler, more transparent, and doesn't need store approval cycles. You can read every line of code in under a minute. No permissions, no background processes, no analytics.
MIT — do whatever you want with it.