NSzx Music Player
This extension is a client-side music player that works great with open directories. It gathers all the links in a webpage and opens a media player with the musics (.mp3, .ogg, .flac, .m4a, etc.).
Additional files are visible only to premium users
manifest.json
{
"manifest_version": 2,
"name": "__MSG_extension_name__",
"author": "[email protected]",
"default_locale": "en",
"icons": {
"16": "images/icon16.png",
"32": "images/icon32.png",
"48": "images/icon48.png",
"128": "images/NSzxMusicPlayer128.png"
},
"version": "1.1.2",
"description": "__MSG_extension_description__",
"permissions": [
"activeTab",
"contextMenus",
"storage",
"https://nszx.fr/"
],
"background": {
"scripts": [
"js/listener.js"
]
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"js/get_playlist.js"
]
}
],
"browser_action": {
"default_icon": {
"16": "images/icon16.png",
"32": "images/icon32.png",
"48": "images/icon48.png",
"128": "images/NSzxMusicPlayer128.png"
},
"default_title": "__MSG_extension_name__",
"default_popup": "popup.html"
},
"commands": {
"prev": {
"suggested_key": {
"default": "Ctrl+Shift+6"
},
"description": "Play previous track"
},
"playPause": {
"suggested_key": {
"default": "Ctrl+Shift+7"
},
"description": "Toggle play/pause"
},
"next": {
"suggested_key": {
"default": "Ctrl+Shift+8"
},
"description": "Play next track"
},
"switchPlaylist": {
"suggested_key": {
"default": "Ctrl+Shift+9"
},
"description": "Play next playlist"
},
"ff10": {
"description": "Fast forward 10s"
},
"ff60": {
"description": "Fast forward 60s"
},
"ff180": {
"description": "Fast forward 3m"
},
"fb10": {
"description": "Fast backward 10s"
},
"fb60": {
"description": "Fast backward 60s"
},
"fb180": {
"description": "Fast backward 3m"
}
},
"browser_specific_settings": {
"gecko": {
"id": "{83e3dcfc-76ba-4544-9043-0b879ac16672}"
}
}
}