优化 X.com/Twitter 性能:移除高负载 CSS、限制 FPS、减少 DOM、暂停屏幕外视频、屏蔽分析并在卡顿时自动启用高性能模式。
这些是此脚本的所有版本。 只显示代码变更过的版本。
v1.3.6- perf: throttle setTimeout same as setInterval to reduce CPU wakeups- fix: correct override to no-op only longtask/resource/paint observers- perf: add modulepreload removal to block bundler prefetch- perf: apply content-visibility to sidebarColumn to reduce offscreen layout cost- perf: lower fetchPriority for images to save bandwidth- style: extend cleanup for gradient/shadow utility classes
v1.3.5- feat: add localization & extended language support (50 locales)- chore: unify metadata descriptions & names
v1.3.4- refactor: replace MutationObserver blocker with throttled version- fix: restore feed loading & modals on X.com (no more broken infinite scroll)
v1.3.3- refactor: rewrite PerformanceObserver patch to safe version (fix arguments/constructor issue)
Fixes & Stability
TypeError: root.querySelectorAll is not a function
onReady()
scanVideos()
scanImg()
Performance Enhancements
@run-at document-start
fetch
rAF
setInterval
Behavior Improvements
onReady
Developer Notes
Core Features
blur
backdrop-filter
linear-gradient
content-visibility: auto
scribe
metrics
client_event
GM_registerMenuCommand
Adaptive Runtime
PerformanceObserver
Oppai1442 GreasyFork Profile
License: MIT