Add to Spotify
Add youtube music to spotify
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"name": "Add to Spotify",
"description": "Add youtube music to spotify",
"version": "1.4.8",
"author": "Samuel Monteiro",
"content_security_policy": "script-src 'self' https://www.youtube.com/* https://accounts.spotify.com/* https://api.spotify.com/*; object-src 'self'",
"icons": {
"16": "icons/spotify_32.png",
"48": "icons/spotify_48.png",
"128": "icons/spotify_128.png"
},
"browser_action": {
"default_title": "Add to Spotify",
"default_popup": "./index.html"
},
"background": {
"scripts": [
"./background.js"
],
"persistent": false
},
"content_scripts": [
{
"js": [
"./content.js"
],
"matches": [
"https://www.youtube.com/*"
],
"run_at": "document_idle"
}
],
"permissions": [
"identity",
"storage",
"activeTab",
"declarativeContent",
"https://accounts.spotify.com/authorize"
]
}