Greasy Fork

来自缓存

Greasy Fork is available in English.

Udemy Speed Fix - UI Sync

Fixes Udemy bug: if UI shows 2x speed, ensure video plays at 2x after lecture change.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Ameer-Jamal
日安装量
0
总安装量
1
评分
0 0 0
版本
1.1
创建于
2025-06-03
更新于
2025-06-03
大小
4.4 KB
许可证
暂无
适用于

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