Skip to content

Commit

Permalink
refactor: move manifest-based contentScripts to chromium
Browse files Browse the repository at this point in the history
Firefox supports dynamic injection,
plus we recently added dedicated manifest.chromium.json
so it makes sense to remove it from Firefox build.
  • Loading branch information
lidel committed Oct 1, 2019
1 parent 93c5b51 commit db1186e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 12 additions & 0 deletions add-on/manifest.chromium.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
{
"content_scripts": [
{
"all_frames": true,
"js": [
"dist/bundles/ipfsProxyContentScript.bundle.js"
],
"matches": [
"<all_urls>"
],
"run_at": "document_start"
}
],
"incognito": "not_allowed"
}
12 changes: 0 additions & 12 deletions add-on/manifest.common.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,6 @@
"icons/ipfs-logo-on.svg",
"icons/ipfs-logo-off.svg"
],
"content_scripts": [
{
"all_frames": true,
"js": [
"dist/bundles/ipfsProxyContentScript.bundle.js"
],
"matches": [
"<all_urls>"
],
"run_at": "document_start"
}
],
"content_security_policy": "script-src 'self'; object-src 'self'; frame-src 'self';",
"default_locale": "en"
}

0 comments on commit db1186e

Please sign in to comment.