feat: convert as web extension

works well in firefox
This commit is contained in:
Xmader 2020-10-29 02:54:45 -04:00
parent 2fe7837775
commit e1aa292ffa
2 changed files with 15 additions and 0 deletions

1
manifest.json Symbolic link
View File

@ -0,0 +1 @@
package.json

View File

@ -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",