NSzx Music Player

NSzx Music Player

Gathers all the links in a webpage and opens a music player with the songs (.mp3, .ogg, .flac, .m4a, etc.).

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "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"
  },
  "content_security_policy": "script-src 'self' https://www.google-analytics.com; object-src 'self'",
  "commands": {
    "prev": {
      "suggested_key": {
        "default": "Ctrl+Shift+6"
      },
      "global": true,
      "description": "Play previous track"
    },
    "playPause": {
      "suggested_key": {
        "default": "Ctrl+Shift+7"
      },
      "global": true,
      "description": "Toggle play/pause"
    },
    "next": {
      "suggested_key": {
        "default": "Ctrl+Shift+8"
      },
      "global": true,
      "description": "Play next track"
    },
    "switchPlaylist": {
      "suggested_key": {
        "default": "Ctrl+Shift+9"
      },
      "global": true,
      "description": "Play next playlist"
    },
    "ff10": {
      "global": true,
      "description": "Fast forward 10s"
    },
    "ff60": {
      "global": true,
      "description": "Fast forward 60s"
    },
    "ff180": {
      "global": true,
      "description": "Fast forward 3m"
    },
    "fb10": {
      "global": true,
      "description": "Fast backward 10s"
    },
    "fb60": {
      "global": true,
      "description": "Fast backward 60s"
    },
    "fb180": {
      "global": true,
      "description": "Fast backward 3m"
    }
  }
}