Skip to content

Instantly share code, notes, and snippets.

@lacivert lacivert/manifest.json
Last active Dec 16, 2015

Embed
What would you like to do?
Only Scrobble Youtube
{
"name": "Last.fm Scrobbler",
"version": "1.15",
"description": "Scrobble music all around the web!",
"icons": {
"128": "icon128.png"
},
"manifest_version": 2,
"content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'",
"web_accessible_resources": [
"icon128.png",
"jango-dom-inject.js",
"spotify-dom-inject.js",
"plugdj-dom-inject.js"
],
"background": {
"scripts": ["background-ga.js", "md5.js", "jquery-1.6.1.min.js", "jquery.dump.js", "scrobbler.js"]
},
"options_page": "options.html",
"permissions": [
"tabs",
"notifications",
"http://ws.audioscrobbler.com/2.0/",
"http://gdata.youtube.com/feeds/api/videos/"
],
"page_action": {
"chromeBroken": "remove this line after issue #86449 is resolved"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["dummy.js"]
},
{
"matches": ["*://www.youtube.com/watch*", "*://www.youtube.com/user/*"],
"js": ["jquery-1.6.1.min.js", "jquery.dump.js", "youtube.js"],
"css": ["youtube.css"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.