我可以在默认情况下隐藏我的分机的图标吗? [英] Can I hide my extension's icon by default?
本文介绍了我可以在默认情况下隐藏我的分机的图标吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的Chrome扩展程序不需要图标 - 这是一个扩展程序,不会占用扩展栏上的空间。
如何才能我默认隐藏图标?
解决方案
如果您不需要图标,可以省略 browser_action
参数来自您的 manifest.json
( default_icon
选项是您通常指定的位置图标)。 browser_action
部分控制着您在工具栏中看到的内容。
My Chrome extension doesn't need an icon - it's a one-liner extension that doesn't want to take up space on your extension bar.
How can I hide the icon by default?
解决方案
If you don't want an icon, you can omit the browser_action
parameter from your manifest.json
(the default_icon
option is where you usually specify the icon). The browser_action
section is what controls what you see in the toolbar.
这篇关于我可以在默认情况下隐藏我的分机的图标吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文