A simple browser extension that enables keyboard navigation on YouTube.
I used to be a heavy user of the discontinued youtube.com/leanback. Now it's gone, I needed to find a way to navigate on YouTube by just using my mini keyboard.
I've set up some shortcuts to ease my life, the bad news is that they aren't configurable. Feel free to send a patch if you miss this feature :)
backspace
: go to previous page (history back)enter
: left clicko
: add video to the queueh
: like/dislike videos
: focus on search fieldu
: focus on video player if a video is being played, otherwise, focus on first video of the listy
: go to home page (/)w
: go to the watch later playlist (/playlist?list=WL)f1
: zoom outf2
: zoom in
This extension must work in any browser compatible with the extension API or WebExtensions API. I've tested it on the following browsers:
- Google Chrome
- Firefox Developer Edition
- Brave Browser
https://chrome.google.com/webstore/detail/youcaptain/dkmgkmaoanadbmkkebhcanfiemkpcgdf
https://addons.mozilla.org/addon/youcaptain/
You can install it by yourself anyway by following the steps below:
- Grab a copy of the source code either by cloning this repository or by downloading and extracting the zipped source. You can download zip archive by opening the project page on GitHub and clicking on the "Download" button.
- Next, open the "Extensions" page (
chrome://extensions/
orabout:debugging
on Firefox) in the browser and turn on the "Developer mode". - Click on the "Load unpacked" button and select the source code you just downloaded.
Note: extensions installed as unpacked aren't updated automatically. To update the extension you should download it and install as unpacked again.
Check the releases page for new versions.
This extension wouldn't be possible without js-spatial-navigation.