Skip to content

Instantly share code, notes, and snippets.

@connor
Created January 1, 2012 23:59
Show Gist options
  • Save connor/1548717 to your computer and use it in GitHub Desktop.
Save connor/1548717 to your computer and use it in GitHub Desktop.
manifest file to go along with rdio-keysocket
{
"name": "Key Socket Media Keys",
"permissions": [ "tabs" ],
"update_url": "http://clients2.google.com/service/update2/crx",
"version": "0.2",
"icons": { "16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png" },
"description": "Control your favorite web-based music player with your keyboard's media keys",
"permissions": ["tabs"],
"content_scripts": [
{
"matches": ["http://www.thesixtyone.com/*"],
"js": ["keysocket-t61.js"]
},
// BELOW IS WHAT NEEDS TO BE ADDED
{
"js": [ "keysocket-rdio.js" ],
"matches": [ "http://www.rdio.com/*" ]
},
// ABOVE IS WHAT NEEDS TO BE ADDED
{
"matches": ["https://music.google.com/*"],
"js": ["keysocket-gmusic.js"]
},
{
"matches": ["http://grooveshark.com/*"],
"js": ["keysocket-grooveshark.js"]
},
{
"matches": ["https://www.amazon.com/gp/dmusic/mp3/player*"],
"js": ["keysocket-amazon-cloud-player.js"]
},
{
"matches": ["http://www.pandora.com/*"],
"js": ["keysocket-pandora.js"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment