您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add NBA-style shortcuts (J/L/U/O/Space + S/D) to the MagentaSport player. Works with Mozilla Firefox.
Tampermonkey userscript that adds NBA-style keyboard shortcuts to the MagentaSport web player on magentasport.de
. Tested with Mozilla Firefox.
Works on static/on-demand videos (finite duration).
// @match https://www.magentasport.de/*
// @run-at document-idle
J/L/U/O/Space
to test.Tip: If nothing happens, reload the page once the player is visible.
Open the script and adjust:
const STEP_SMALL = 10; // J/L
const STEP_LARGE = 60; // U/O
K
):
Add 'k'
to the allowed keys and call togglePlay(video)
for it.findActiveVideo()
(e.g., query a visible <video>
inside the player container).https://www.magentasport.de/*
– Open DevTools → Console to see errors
– Temporarily disable other video-shortcut extensionspreventDefault
; if you want to fully override others, you can also call e.preventDefault()
for J/L/U/O.Tampermonkey Dashboard → select the script → Delete (trash icon).
MIT
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址