Skip to content

nchicong/youcaptain

 
 

Repository files navigation

YouCaptain

A simple browser extension that enables keyboard navigation on YouTube.

demo.gif

Why?

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.

Shortcuts

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 click
  • o: add video to the queue
  • h: like/dislike video
  • s: focus on search field
  • u: focus on video player if a video is being played, otherwise, focus on first video of the list
  • y: go to home page (/)
  • w: go to the watch later playlist (/playlist?list=WL)
  • f1: zoom out
  • f2: zoom in

Compatibility

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

Installation

Chromium based browsers (Google Chrome, Brave, Opera etc)

https://chrome.google.com/webstore/detail/youcaptain/dkmgkmaoanadbmkkebhcanfiemkpcgdf

Firefox

https://addons.mozilla.org/addon/youcaptain/

Other browsers / manual installation

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/ or about: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.

Acknowledgment

This extension wouldn't be possible without js-spatial-navigation.

About

A simple browser extension that enables keyboard navigation on YouTube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.8%
  • HTML 3.4%
  • CSS 1.8%