Simple play/pause button for Yandex Music. This button allows to pause or resume current track independently of current tab.

Latest Version

Version
1.1.2
Update
September 1, 2024
Size
15.58KiB
Developer
Category
Users
92
Rating
4 ★
Manifest Version
3
Web Store Status
Languages Support
English
русский
See more
Permissions
Storage
Tabs
Scripting
See more

Play/Pause Button For Yandex Music Extension

Simple play/pause button for Yandex Music with media keys support. This button allows to pause or resume current podcasts independently of current tab or current window. If Yandex Music site is not open, it will be open by click on the icon.

Keyboard media keys support:
- Play/Pause ⏯;
- Back ⏮ - skip back;
- Forward ⏭ - skip forward.

Media keys may be disabled in options.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "__MSG_ext_name__", "short_name": "__MSG_ext_short_name__", "description": "__MSG_ext_description__", "version": "1.1.2", "author": "Artem Zanin", "default_locale": "en", "icons": { "16": "images/Play.png", "48": "images/icon48.png", "128": "images/icon128.png" }, "options_ui": { "page": "options.html" }, "permissions": [ "storage", "tabs", "scripting" ], "host_permissions": [ "https://music.yandex.by/*/", "https://music.yandex.com/*/", "https://music.yandex.kz/*/", "https://music.yandex.uz/*/", "https://music.yandex.ru/*/" ], "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": [ "https://music.yandex.by/*/", "https://music.yandex.com/*/", "https://music.yandex.kz/*/", "https://music.yandex.uz/*/", "https://music.yandex.ru/*/" ], "js": [ "action-play.js", "action-skip.js" ] } ], "commands": { "play-pause": { "suggested_key": { "default": "MediaPlayPause" }, "description": "__MSG_play_pause__", "global": true }, "jump-back": { "suggested_key": { "default": "MediaPrevTrack" }, "description": "__MSG_jump_back__", "global": true }, "jump-forward": { "suggested_key": { "default": "MediaNextTrack" }, "description": "__MSG_jump_forward__", "global": true } }, "action": {}}
Read more