您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fixes Udemy bug: if UI shows 2x speed, ensure video plays at 2x after lecture change.
当前为
Description
Fixes a common Udemy bug where the video playback speed resets after changing lectures, even though the UI still shows your chosen speed (e.g. 2x).
This script keeps the video playback speed in sync with the UI display.
Features
✅ Automatically applies your chosen playback speed after switching lectures
✅ Works with Udemy’s single-page navigation (SPA)
✅ Detects changes instantly using a smart MutationObserver
✅ No user interaction needed — just install and forget
Why You Might Need This
On Udemy, you might see "2x" speed in the corner, but the video is actually playing at normal speed after changing lectures.
This script ensures your playback speed is always what the UI says it is.
Technical Notes
Observes dynamic URL changes without wasting CPU via polling
Waits ~1 second after navigation to allow video/player to fully load
Lightweight and optimized for modern browsers