Skip to content

Commit

Permalink
[feat] add content script
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksteamdev committed Oct 19, 2020
1 parent e438ef5 commit c9183c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/content.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log('content.js')
8 changes: 7 additions & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"background": { "scripts": ["background.js"] }
"background": { "scripts": ["background.js"] },
"content_scripts": [
{
"js": ["content.js"],
"matches": ["http://*/*", "https://*/*"]
}
]
}

0 comments on commit c9183c0

Please sign in to comment.