seek +/- 5 sec in video player (html5) with arrow keys (hold Ctrl for 30 sec)

^^^^^^^

Від 08.06.2017. Дивіться остання версія.

Автор
darkdiatel
Рейтинги
0 0 0
Версія
0.1
Створено
08.06.2017
Оновлено
08.06.2017
Size
714 байтів
Ліцензія
Н/Д
Відноситься до

NOTE: modify the "// @match" - change domain to where you need this script to work

I didn't bother to write the ideal one (yet), which could be enabled all all sites - it should observe browser content changes and listen to arrow keys only when video player is present on the page.
This one is primitive and always listens to key events and in case it's arrows, it searches for players (document.getElementsByTagName), which might be not a good idea to do on all sites on each arrow key press, therefore you probably better enable this script only for the specified domain(s)