Greasy Fork is available in English.
Keyboard shortcuts to seek more easily in Twitch VODs
Voici les versions de ce script où le code a été modifié. Voir toutes les versions.
Second attempt, must have messed up copy/paste for adding target-time visualization
Seeking also shows target time (so you don't need to look at the tiny built-in timer, which sometimes is unreadable due to video contents)
Just added comments explaining a missing feature in firefox (so anyone who sees the warning understands it)
Fix some minor warnings found by firemonkey
Fixed all linting errors (Thanks rram for pointing it out)Will use tampermonkey's editor in the future instead of violentmonkey
This modification was modified using Chatgpt. A bunch of it is over my head w.r.t. html/javascript.I had to fix a bunch of bugs in it and I tweaked, but I can't be confident the code is good/didn't introduce significant issues.I DID go through a diff of what was generated (it added LOTS of bugs/broke lots of things/I restored stuff) so hopefully this is a strict improvement.There are now visual popups that fade away quickly showing:seek amount (when you change the seek amount)When you seek forwards/backwards it gives you a visual indication as wellWhen you seek to a percentage it gives you a visual indication of what you asked for and where you're going.
(Thanks to rram for the debugging)Added support for SPA (single-page-application) aware navigation.Should turn the script on and off if you navigate around on twitch (turn on when on a clip/vod, turn off when not on a clip/vod)NOTE: The seek size will reset every time it's enabled.
Restored Shift for up/down cause control+up/down already does something.
Removed "Shift" from left/right/up/down cause Twitch (or maybe firefox) acts weird for control+shift+arrowsKept "shift" for the numbers (0..9) because control 0 is ALREADY a firefox/chrome shortcut
Add clips.twitch.tv
Apparently it's SOMETIMES /video/ and SOMETIMES /videos/, supporting both now
Fixed bug (videos vs video) typo
Twitch has two url formats for VODS, now support both.Also add support for clip instead of just VODs (not that they're really needed since they're only a minute long but whatever).In the future I'll change the default seek for clips to 1s instead of 1minute since they CANNOT be more than a minute.
Just documentation / additional info
Fixed double seek backwards, removed alerts