Skip to content

Instantly share code, notes, and snippets.

@lacivert
Last active December 16, 2015 07:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lacivert/5396396 to your computer and use it in GitHub Desktop.
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