Google chrome extension 有人能帮我用谷歌扩展图标吗?
我有一个谷歌扩展图标的问题。也就是说,当我将扩展插件作为未打包的扩展插件上载到上时,只会显示一个32x32图标chrome://extensions/.Google chrome extension 有人能帮我用谷歌扩展图标吗?,google-chrome-extension,Google Chrome Extension,我有一个谷歌扩展图标的问题。也就是说,当我将扩展插件作为未打包的扩展插件上载到上时,只会显示一个32x32图标chrome://extensions/. 有人能给我发送manifact.json的正确结构,其中包括显示所有图标吗?这是我在清单第2版中使用的架构,如果您使用的是第3版,您可以查看以下链接中的文档 清单v3 { // Required "manifest_version": 3, "name": "My Extensi
有人能给我发送manifact.json的正确结构,其中包括显示所有图标吗?这是我在清单第2版中使用的架构,如果您使用的是第3版,您可以查看以下链接中的文档 清单v3
{
// Required
"manifest_version": 3,
"name": "My Extension",
"version": "versionString",
// Recommended
"action": {...},
"default_locale": "en",
"description": "A plain text description",
"icons": {...},
// Optional
"action": ...,
"author": ...,
"automation": ...,
"background": {
// Required
"service_worker":
},
"chrome_settings_overrides": {...},
"chrome_url_overrides": {...},
"commands": {...},
"content_capabilities": ...,
"content_scripts": [{...}],
"content_security_policy": "policyString",
"converted_from_user_script": ...,
"current_locale": ...,
"declarative_net_request": ...,
"devtools_page": "devtools.html",
"differential_fingerprint": ...,
"event_rules": [{...}],
"externally_connectable": {
"matches": ["*://*.example.com/*"]
},
"file_browser_handlers": [...],
"file_system_provider_capabilities": {
"configurable": true,
"multiple_mounts": true,
"source": "network"
},
"homepage_url": "http://path/to/homepage",
"host_permissions": [...],
"import": [{"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}],
"incognito": "spanning, split, or not_allowed",
"input_components": ...,
"key": "publicKey",
"minimum_chrome_version": "versionString",
"nacl_modules": [...],
"natively_connectable": ...,
"oauth2": ...,
"offline_enabled": true,
"omnibox": {
"keyword": "aString"
},
"optional_permissions": ["tabs"],
"options_page": "options.html",
"options_ui": {
"chrome_style": true,
"page": "options.html"
},
"permissions": ["tabs"],
"platforms": ...,
"replacement_web_app": ...,
"requirements": {...},
"sandbox": [...],
"short_name": "Short Name",
"storage": {
"managed_schema": "schema.json"
},
"system_indicator": ...,
"tts_engine": {...},
"update_url": "http://path/to/updateInfo.xml",
"version_name": "aString",
"web_accessible_resources": [...]
}
参考资料:您能告诉我们您已经编码为a的代码吗?谢谢您对我的问题的正确回答,您真的帮了我的忙。我还有一个问题。您认为v2或v3清单更好吗?最好使用版本3,因为谷歌可能在某个时候开始反对版本2,如果您不想在将来担心这一点,最好使用v3好的,谢谢。但是兄弟,我做的每件事都是对的,我又有问题了。经过3个小时的无数次尝试和浪费时间的搜索,我无法解决图标的问题。你能给我你的skype或任何联系人向你发送更多详细信息吗?在这里给我发送消息