Use keyboard shortcuts to control YouTube Music

Latest Version

Version
1.9.0
Update
May 4, 2021
Size
40.74KiB
Developer
Category
Users
920
Rating
4.92857 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Https://play.google.com/music/listen*
Https://podcasts.google.com/*
Https://music.youtube.com/*
ContextMenus
Tabs
See more

YouTube Music Hotkeys Extension

This browser extension lets you control background playback of YouTube Music (previously known as Google Music) without switching tabs. That is all.

Features:

browser action button
left click toggles playback, context click displays more options
open and pin YouTube Music if it is not open yet
toggle playback: Ctrl+Shift+8
previous song: Ctrl+Shift+9
next song: Ctrl+Shift+0
autoplay when &autoplay=true is found in URL

One can customize default shortcuts via chrome://extensions/configure
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "YouTube Music Hotkeys", "version" : "1.9.0", "description": "Use keyboard shortcuts to control YouTube Music", "homepage_url": "https://github.com/lidel/google-music-hotkeys", "author": "Marcin Rataj", "icons": { "128": "Play_music_triangle.png" }, "permissions": [ "https://play.google.com/music/listen*", "https://podcasts.google.com/*", "https://music.youtube.com/*", "contextMenus", "tabs" ], "background": { "scripts": ["browser-polyfill.min.js", "background.js"] }, "options_ui": { "page": "options.html", "browser_style": true }, "browser_action": { "browser_style": true, "default_icon": { "128": "Play_music_triangle.png" } },\t"commands": {\t\t"toggle-playback": {\t\t\t"suggested_key": { "default": "Ctrl+Shift+8", "windows": "Alt+Shift+8" },\t\t\t"description": "Toggle Playback"\t\t},\t\t"previous-song": {\t\t\t"suggested_key": { "default": "Ctrl+Shift+9", "windows": "Alt+Shift+9" },\t\t\t"description": "Previous Song"\t\t},\t\t"next-song": {\t\t\t"suggested_key": { "default": "Ctrl+Shift+0", "windows": "Alt+Shift+0" },\t\t\t"description": "Next Song"\t\t}\t}, "content_scripts": [ { "matches": [ "https://play.google.com/music/listen*", "https://podcasts.google.com/*", "https://music.youtube.com/*" ], "js": ["browser-polyfill.min.js", "autoplay.js"], "all_frames" : false, "run_at": "document_idle" } ]}
Read more