質問編集履歴

1

backgroundスクリプトの書き方の訂正

2022/02/20 10:41

投稿

me1t
me1t

スコア48

test CHANGED
File without changes
test CHANGED
@@ -37,13 +37,9 @@
37
37
  "default_title": "SAMPLE",
38
38
  "default_popup": "main.html"
39
39
  },
40
-
41
- "content_scripts": [
40
+ "background":{
42
- {
43
- "js": ["jq360min.js", "background.js"],
41
+ "scripts": ["jq360min.js", "background.js"]
44
- "matches": ["http://*/*", "https://*/*"]
45
- }
42
+ }
46
- ]
47
43
  }
48
44
  ```
49
45
  ```main.html