【发布时间】:2021-09-16 00:19:06
【问题描述】:
我不知道如何将带有选项页面的 chrome 扩展清单 v2 升级到 v3。我收到错误The chrome_style option cannot be used with manifest version 3.
我查了https://developer.chrome.com/extensions/migrating_to_manifest_v3,但没有提到这个。
知道我的清单中需要更改什么:-
//Manifest v2
"options_ui": {
"chrome_style": true,
"page": "options.html",
"open_in_tab": false
},
解决方案:
按照建议,我删除 "chrome_style": true, 后就可以了
【问题讨论】:
-
我很确定“chrome_style”已被弃用。
-
删除
"chrome_style": true,
标签: google-chrome-extension options