我正在尝试更改浏览器的主题,但在打开新标签页时显示应用程序。到目前为止,我只能做一个或另一个。如果我将 chrome_url_overrides
和 theme
都放入 manifest.json 文件中,则只有 theme
下的更改可见。
{
"manifest_version": 2,
"version": "0.0.1",
"short_name": "Foo",
"name": "Foo",
"theme": {
"colors": {
"frame": [22, 22, 22],
"frame_inactive": [22, 22, 22],
"toolbar": [22, 22, 22],
}
},
"chrome_url_overrides" : {
"newtab": "index.html"
},
"icons": {
"16": "logo192.png",
"48": "logo192.png",
"128": "logo192.png"
}
}