Media Speed Changer

Enables you to change the speed of video and audio with hotkeys (even if the media is inside an iframe)

目前為 2021-11-21 提交的版本,檢視 最新版本

作者
hjk789
評價
0 0 0
版本
1.2
建立日期
2020-08-21
更新日期
2021-11-21
尺寸
3.2 KB
授權條款
https://github.com/hjk789/Creations/tree/master/Userscripts/Media-Speed-Changer#license
腳本執行於
所有網站

Media Speed Changer

Enables you to change the speed of video and audio with hotkeys (even if the media is inside an iframe)

About

This userscript enables you to change the speed of video and audio with the PrintScreen, ScrollLock and Pause keys. It does this both for media in the page (HTML5 video or audio) or embeded media inside an IFRAME element. It was tested in both GreaseMonkey and TamperMonkey, although in GreaseMonkey some embeds won't change the speed, because of a bug in GreaseMonkey 4's IFRAME handling. So it works best on Tampermonkey or Violentmonkey.

Hotkeys

  • PrintScreen: 0.25x slower
  • Pause/Break: 0.25x faster
  • Shift + PrintScreen: 0.5x slower
  • Shift + Pause/Break: 0.5x faster
  • ScrollLock: Sets to 2.5x speed
  • Ctrl + ScrollLock: Sets to 4x speed
  • Ctrl + Insert: Sets to 16x speed
  • Shift + ScrollLock: Sets to normal speed (1x)

You can freely change the keys or the speeds as you like. These are the ones that works best for me.

License

  • You can view the code, download copies to your devices, install, run, use the features and uninstall this software.
  • Feel free to refer to this userscript, just make sure to include a link to its repository homepage or to its GreasyFork page.
  • You can modify your copy as you like.
  • You cannot do any other action not allowed in this license.