Skip to content

Commit 8a8d0d7

Browse files
updata article: chrome extension-updata content
1 parent 97172ad commit 8a8d0d7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

profiles/chrome-extension.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
> 本文使用 `ChatGPT` 辅助编写
88
99
## 目录结构
10-
* 以下为 chrome 官方文档给出的参考目录结构
10+
* 以下为 `Chrome` 官方文档给出的参考目录结构
1111
* 可以通过多种方式构建项目目录,唯一的前提条件是将 `manifest.json` 文件放在根目录中
1212

1313
![](../images/chromeExtension/catalog.png)
@@ -32,8 +32,7 @@
3232
"default_locale": "en",
3333
3434
// 浏览器图标部分
35-
// browser_action表示程序图标会出现在扩展程序槽,若要出现在地址栏内,则写成page_action
36-
"browser_action": {
35+
"action": {
3736
"default_title": "小助手",
3837
"default_icon": "logo.jpeg",
3938
"default_popup": "popup.html"

0 commit comments

Comments
 (0)