vPause - vk.com player hotkeys
Control vk.com (vkontakte) audioplayer form any tab: hotkeys, toolbar button
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "vPause - vk.com player hotkeys",
"developer": {
"name": "Pavel Shut",
"url": "http://vk.com/spadarshut"
},
"description": "__MSG_extensionDecription__",
"default_locale": "ru",
"manifest_version": 2,
"version": "4.1.2",
"icons": {
"48": "img/icon_48.png",
"128": "img/icon_128.png"
},
"browser_action": {
"default_icon": "img/btn_play.png",
"default_title": "vPause"
},
"options_page": "options.html",
"background": {
"scripts": [
"js/vpause-background.js"
]
},
"content_scripts": [
{
"js": [
"js/vpause-contentscript.js"
],
"matches": [
"<all_urls>"
],
"include_globs": [
"*"
],
"exclude_globs": [],
"run_at": "document_end",
"all_frames": true
}
],
"web_accessible_resources": [
"js/shortcut.js",
"js/vpause-injected-hotkeys.js",
"js/vpause-injected-listeners.js"
],
"permissions": [
"tabs",
"*://*/*",
"storage",
"http://*/*"
],
"commands": {
"togglePlay": {
"description": "__MSG_labelHotkeyPlayPause__",
"global": true
},
"prevTrack": {
"description": "__MSG_labelHotkeyPrevTrack__",
"global": true
},
"nextTrack": {
"description": "__MSG_labelHotkeyNextTrack__",
"global": true
},
"makeItLouder": {
"description": "__MSG_labelHotkeyVolUp__",
"global": true
},
"makeItQuieter": {
"description": "__MSG_labelHotkeyVolDown__",
"global": true
},
"toggleRepeat": {
"description": "__MSG_labelToggleRepeat__",
"global": true
},
"toggleMute": {
"description": "__MSG_labelToggleMute__",
"global": true
},
"toggleShuffle": {
"description": "__MSG_labelToggleShuffle__",
"global": true
},
"addToMyMusic": {
"description": "__MSG_labelAddSong__",
"global": true
},
"seekForward": {
"description": "__MSG_labelSeekForward__",
"global": true
},
"seekBack": {
"description": "__MSG_labelSeekBack__",
"global": true
}
}
}