Skip to content

Commit

Permalink
chore(content-script): add permission to load global.js
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Apr 25, 2024
1 parent 831bdc4 commit dd528ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
"http://localhost:8001/*",
"http://localhost:8002/*"
],
"web_accessible_resources": [
"content-scripts/global.js"
],
"content_scripts": [{
"matches": ["file://*/*", "http://*/*", "https://*/*"],
"js": [
Expand Down
3 changes: 3 additions & 0 deletions extension/manifest.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"permissions": [
"storage"
],
"web_accessible_resources": [
"content-scripts/global.js"
],
"content_scripts": [{
"matches": ["file://*/*", "http://*/*", "https://*/*"],
"js": [
Expand Down

0 comments on commit dd528ad

Please sign in to comment.