🧠 X.com Gelişmiş JS Optimize Edici+

X.com/Twitter performansını artırır: ağır CSS filtrelerini kaldırır, FPS sınırlar, DOM’u küçültür, ekrandışı videoları duraklatır, analitiği engeller ve gecikme durumunda agresif modu otomatik açar.

08.11.2025 itibariyledir. En son verisyonu görün.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

Yazar
Oppai1442
Değerlendirmeler
0 0 0
Versiyon
1.3.6
Oluşturulma
22.10.2025
Güncellenme
08.11.2025
Boyut
31,2 KB
Lisans
MIT
Geçerli

🧠 X.com Heavy JS Optimizer+

⚡ Overview

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.


🚀 Features

  • 🧹 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.


🧰 Menu Commands

Available via ViolentMonkey / TamperMonkey menu:

  • 🧠 Toggle Aggressive Mode
  • 🧩 Set feed tweet limit
  • 📊 Enable/Disable metrics blocking

🧪 Benchmarks

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)


⚙️ Compatibility

✅ Works on:

🧩 Supported managers:

  • ViolentMonkey ✅
  • TamperMonkey ✅
  • FireMonkey 🟡 (limited support)

💡 Tips

  • For best results, disable other performance-altering scripts or extensions.
  • You can monitor real-time CPU impact via Chrome DevTools > Performance.

🪄 Credits

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.