diff --git a/manifest.json b/manifest.json new file mode 120000 index 0000000..2ff8622 --- /dev/null +++ b/manifest.json @@ -0,0 +1 @@ +package.json \ No newline at end of file diff --git a/package.json b/package.json index 445010b..8da139b 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,20 @@ "url": "https://github.com/Xmader/musescore-downloader/issues" }, "homepage": "https://github.com/Xmader/musescore-downloader#readme", + "homepage_url": "https://github.com/Xmader/musescore-downloader#readme", + "manifest_version": 2, + "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", + "content_scripts": [ + { + "matches": [ + "*://musescore.com/*/*" + ], + "js": [ + "dist/main.js" + ], + "run_at": "document_start" + } + ], "dependencies": { "pdfkit": "git+https://github.com/Xmader/pdfkit.git", "svg-to-pdfkit": "^0.1.8",