iShuffle

App to control Apple Music, Spotify, SoundCloud and Amazon Music Media Player.
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "version": "0.0.3",
  "name": "iShuffle",
  "short_name": "iShuffle",
  "description": "App to control Apple Music, Spotify, SoundCloud and Amazon Music Media Player.",
  "default_locale": "en",
  "options_ui": {
    "page": "options.html"
  },
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "browser_action": {},
  "content_scripts": [
    {
      "all_frames": false,
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "content.js"
      ]
    },
    {
      "all_frames": false,
      "matches": [
        "https://open.spotify.com/*"
      ],
      "js": [
        "spotifyContentScript.js"
      ]
    },
    {
      "all_frames": false,
      "matches": [
        "https://music.amazon.in/*"
      ],
      "js": [
        "amazonMusicContentScript.js"
      ]
    },
    {
      "all_frames": false,
      "matches": [
        "https://beta.music.apple.com/*"
      ],
      "js": [
        "appleMusicContentScript.js"
      ]
    },
    {
      "all_frames": false,
      "matches": [
        "https://soundcloud.com/*"
      ],
      "js": [
        "soundCloudContentScript.js"
      ]
    },
    {
      "all_frames": false,
      "matches": [
        "https://music.youtube.com/watch?*"
      ],
      "js": [
        "youtubeContentScript.js"
      ]
    }
  ],
  "icons": {
    "16": "assets/img/icon-16x16.png",
    "48": "assets/img/icon-48x48.png",
    "128": "assets/img/icon-128x128.png"
  },
  "permissions": [
    "storage",
    "tabs",
    "http://*/",
    "https://*/"
  ],
  "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'; connect-src ws://localhost:*/",
  "web_accessible_resources": [
    "assets/img/*"
  ]
}