Skip to content

Commit fd8f9fa

Browse files
committed
Add Content Script "content.js"
1 parent 9016945 commit fd8f9fa

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

manifest.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SnipX",
3-
"version": "0.0.0.1",
3+
"version": "0.1.0",
44
"manifest_version": 2,
55
"description": "...",
66
"browser_action": {
@@ -9,5 +9,11 @@
99
"permissions": [
1010
"activeTab",
1111
"tabs"
12-
]
12+
],
13+
"content_scripts": [
14+
{
15+
"matches": ["<all_urls>"],
16+
"js": ["src/content.js"]
17+
}
18+
]
1319
}

src/content.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('runs anywhere')

0 commit comments

Comments
 (0)