From e1aa292ffaf2950e7f3246fcbb7fa20d267715d8 Mon Sep 17 00:00:00 2001 From: Xmader Date: Thu, 29 Oct 2020 02:54:45 -0400 Subject: [PATCH] feat: convert as web extension works well in firefox --- manifest.json | 1 + package.json | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 120000 manifest.json 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",