質問編集履歴

3

.

2018/07/21 00:39

投稿

Koyyyyyy
Koyyyyyy

スコア55

test CHANGED
File without changes
test CHANGED
@@ -60,11 +60,11 @@
60
60
 
61
61
  "update_url": "https://clients2.google.com/service/update2/crx",
62
62
 
63
- "name": "ICU-OPAC-Viewer",
63
+ "name": "Viewer",
64
64
 
65
65
  "manifest_version": 2,
66
66
 
67
- "description": "Search books through icu ipac.",
67
+ "description": "Search books throughipac.",
68
68
 
69
69
  "version": "1.5.6",
70
70
 

2

add manifest.json

2018/07/21 00:39

投稿

Koyyyyyy
Koyyyyyy

スコア55

test CHANGED
File without changes
test CHANGED
@@ -47,3 +47,63 @@
47
47
 
48
48
 
49
49
  どのようにしたら新たに開かれたタブを操作できるのでしょうか。
50
+
51
+
52
+
53
+ manifesut.json
54
+
55
+  ```
56
+
57
+
58
+
59
+ {
60
+
61
+ "update_url": "https://clients2.google.com/service/update2/crx",
62
+
63
+ "name": "ICU-OPAC-Viewer",
64
+
65
+ "manifest_version": 2,
66
+
67
+ "description": "Search books through icu ipac.",
68
+
69
+ "version": "1.5.6",
70
+
71
+ "permissions": [
72
+
73
+ "contextMenus"
74
+
75
+ ],
76
+
77
+ "icons": {
78
+
79
+ "16": "icon16.png",
80
+
81
+ "48": "icon48.png",
82
+
83
+ "128": "icon128.png"
84
+
85
+ },
86
+
87
+ "background": {
88
+
89
+ "page": "rightClickSearch.html"
90
+
91
+ },
92
+
93
+ "browser_action": {
94
+
95
+ "default_icon": "icon16.png"
96
+
97
+ },
98
+
99
+ "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'"
100
+
101
+ }
102
+
103
+
104
+
105
+ ```
106
+
107
+
108
+
109
+ background.jsには何も書いておりませんでした。

1

2018/07/21 00:39

投稿

Koyyyyyy
Koyyyyyy

スコア55

test CHANGED
@@ -1 +1 @@
1
- chrome 拡張機能 開発 質問
1
+ chrome 拡張機能  新規作成されたタブの操作の仕方
test CHANGED
File without changes