Control your music and videos with Schmidt's Katz's keyboard shortcuts. This plugin aims to be feature-complete - you can change volume, seek or even modify the playback rate using keystroke commands. To use shortcuts outside Firefox, a native interface integrates this plugin into MPRIS on Linux.
- Firefox
- Chromium
- Google Chrome
- Probably other Chromium based browser
After clone, run yarn ${browser}
to prepare building for a specific browser and to install mpris if you are on linux.
Browser must be one of the following:
- firefox
- chromium
- google-chrome
yarn ${browser}
installs mpris manifest file.
scrollbar fix mpris fix chrome support
This plugin tries to use as many features of the standard html5 audio/video api. Unluckily most websites build their own implementations around the html5 standard, so we try to get around issues in the most general way.
TODO: constructor parameter optional
overrides window.createElement
to get access to all created video/audio elements, which are not attached to the DOM.
These are then attached the DOM in a div with id 'skMedias' for further use in a controller.
adds a patch
function, which accepts a url pattern, regex to search for code and replacement code.
This function can be used as last measurement to get access to privately defined functions to access media player functionality.
webRequest
,webRequestBlocking
andurls
to adapt content security policyactiveTab
to find out when user changed tabsnativeMessaging
for MPRIS
- CI/test playback rate/artwork
- Popup
- scroll title
- grid layout
- Integration tests
- disable class depending on for attribute: https://stackoverflow.com/questions/1186416/jquery-selector-for-the-label-of-a-checkbox#1186423
- Window 10 media overlay