avi12/youtube-like-dislike-shortcut
About
Like videos with Shift+Plus, dislike with Shift+Minus.
Design & MediaMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalYouTube Like-Dislike Shortcut
Like, dislike and un-rate from the keyboard, on both YouTube and YouTube Music

This extension does not reveal the videos' dislike counters
Install
Chrome 120+
Firefox 142+
Opera 106+
Good to know
- Pressing a like or dislike shortcut while that button is already active does nothing
- Auto-like by subscription also covers artists in your YouTube Music library
- The watched percentage is shown next to the like button while auto-like is active
- YouTube Music has global shortcuts too, to like, dislike or un-rate the playing song from any tab
or window. Set them in
chrome://extensions/shortcuts(there are no defaults). They work when there is a single YouTube Music tab and it isn't focused; in the focused tab, use the popup's shortcuts
Development
Setup
Install Node.js, Bun 1.4.5 and, for the dev server,
Rust, then run bun install
Dev server
| Browser | Command |
|---|---|
| Chrome (default) | bun run dev |
| Edge | bun run dev:edge |
| Opera | bun run dev:opera |
| Firefox | bun run dev:firefox |
| Edge, in Hebrew | bun run dev:rtl |
The dev server is ext-dev-server, pinned in package.json
and configured in devserver.toml. It builds the extension into build/<browser>-mv3-development,
launches the browser with it in a muted copy of your own browser profile (under user-profiles/), and
on every save hot swaps the rebuild in: content scripts, styles and the background change in place, the
popup swaps its Svelte components keeping their state, and YouTube tabs never reload. Chromium serves
remote debugging on port 9225 (Firefox: Marionette on 2829); each session logs to
.dev-logs/<browser>.log
Build
| Browser | Command |
|---|---|
| Chrome | bun run build |
| Opera | bun run build:opera |
| Firefox | bun run build:firefox |
Package
Packaging builds first, so there is no separate build step to run
| Browser | Command |
|---|---|
| Chrome | bun run package |
| Opera | bun run package:opera |
| Firefox | bun run package:firefox |
| All | bun run package:all |
bun run crx packages Chrome and signs it into a .crx for GitHub releases. The signing key is created
in the gitignored keys/ folder on the first run - keep it, since it fixes the extension ID
Claude Code
The repo includes .mcp.json with two MCP servers for browser automation:
- chrome-devtools-mcp - connects to any Chromium-based browser via remote debugging on port 9225
- firefox-devtools-mcp - connects to Firefox via Marionette on port 2829
Contribution
Feel free to contribute! Keep in mind that the license I chose
is GPL v3
If you want to fork, make sure to credit Avi and link to this repository
Made by Avi
Explore related projects
Loading…