Skip to content

Commit 1a4bd80

Browse files
author
robot
committed
chore: 更新项目主页
1 parent 1009684 commit 1a4bd80

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

public/manifest.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,26 @@
77
"default_popup": "index.html",
88
"default_title": "力扣加加"
99
},
10+
"homepage_url": "https://leetcode-solution.cn/download",
1011
"icons": {
1112
"128": "logo.png"
1213
},
1314
"content_scripts": [
1415
{
15-
"matches": ["*://leetcode-cn.com/*", "*://leetcode.com/*"],
16-
"js": ["/static/js/inject.js"]
16+
"matches": [
17+
"*://leetcode-cn.com/*",
18+
"*://leetcode.com/*"
19+
],
20+
"js": [
21+
"/static/js/inject.js"
22+
]
1723
}
1824
],
19-
"web_accessible_resources": ["/static/js/content.js"],
20-
"permissions": ["tabs"],
25+
"web_accessible_resources": [
26+
"/static/js/content.js"
27+
],
28+
"permissions": [
29+
"tabs"
30+
],
2131
"content_security_policy": "script-src 'self' 'sha256-9HcBuUP35aPkU0991A4mASdsuifTkUlifJ7elThz6Ow=' 'sha256-0Jo/EYaXS11i7poc/P9fGcq/o6P0djny2JW6WivTVVw='; object-src 'self'"
22-
}
32+
}

0 commit comments

Comments
 (0)