DJ Controls for the YouTubes
Turns your media keys (previous, pause/play, and next) into global keyboard shortcuts for the YouTubes. Is this real life?
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "DJ Controls for the YouTubes",
"version": "0.2",
"description": "Turns your media keys (previous, pause/play, and next) into global keyboard shortcuts for the YouTubes. Is this real life?",
"background": {
"persistent": false,
"scripts": [
"background.js"
]
},
"permissions": [
"tabs",
"notifications",
"http://www.youtube.com/"
],
"content_scripts": [
{
"matches": [
"http://www.youtube.com/*",
"https://www.youtube.com/*"
],
"js": [
"jquery.js",
"myscript.js"
]
}
],
"commands": {
"next": {
"suggested_key": {
"default": "MediaNextTrack"
},
"description": "Skip to next video",
"global": true
},
"pause-or-play": {
"suggested_key": {
"default": "MediaPlayPause"
},
"description": "Pause or resume playback",
"global": true
},
"shuffle": {
"suggested_key": {
"default": "Ctrl+Shift+9",
"mac": "Command+Shift+9"
},
"description": "Shuffle video list",
"global": true
},
"previous": {
"suggested_key": {
"default": "MediaPrevTrack"
},
"description": "Play previous video",
"global": true
}
},
"icons": {
"128": "icon128.png"
},
"manifest_version": 2
}