X.com/Twitter μ±λ₯ μ΅μ ν: λ¬΄κ±°μ΄ CSS μ κ±°, FPS μ ν, νΌλ DOM μΆμ, νλ©΄ λ° λμμ μΌμμ μ§, λΆμ μ°¨λ¨, λ λ°μ μ μλ 곡격μ λͺ¨λ μ ν.
X.com Heavy JS Optimizer+ is a high-performance userscript that dramatically reduces lag, scroll jank, and CPU load on X.com (Twitter).
It intelligently removes redundant animations, limits repainting, pauses offscreen videos, and caps JavaScript frame rates β all without breaking the core site experience.
π§Ή Lightweight CSS Cleanup
Removes heavy effects (backdrop-filter, blur, gradients) and disables GPU-stressing layers.
βοΈ Passive Event Optimization
Forces passive: true on scroll/touch listeners for smoother rendering.
ποΈ Smart Video Control
β’ Only one video can play at a time
β’ Auto-pause when scrolled offscreen
β’ Prevents auto-play and decoding spam
π§© DOM Feed Garbage Collector
Keeps only the last N tweets in the DOM to prevent memory bloat.
(Configurable from userscript menu.)
π Metrics Blocking (Optional)
Blocks unnecessary telemetry calls like scribe, engagement, and client_event.
β‘ Aggressive Runtime Mode
Auto-detects long tasks and dynamically limits FPS (requestAnimationFrame) to maintain stability.
π€ Tab Visibility Safety
Auto-pauses all videos when tab is hidden.
Available via ViolentMonkey / TamperMonkey menu:
| Scenario | Before | After | Improvement |
|---|---|---|---|
| Scrolling feed 100+ tweets | ~48β55 FPS | 90+ FPS | +85% |
| Memory footprint (avg) | 1.4 GB | 650 MB | β53% |
| CPU load (video active) | 45β60% | 25β30% | β50% |
(Tested on Brave 1.72 / Win10 / Ryzen 7 5800H)
β Works on:
π§© Supported managers:
Developed by Oppai1442
Made with β€οΈ, caffeine, and a stubborn hatred of lag.
License: MIT
View source on GreasyFork
β οΈ Disclaimer:
This script modifies rendering behavior for optimization purposes.
Use at your own discretion β functionality on experimental browsers may vary.