Play/Pause Button For Yandex Music
Simple play/pause button for Yandex Music. This button allows to pause or resume current track independently of current tab.
Additional files are visible only to premium users
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.1",
"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.ru/*/"
],
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": [
"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": {}
}