使用 Chrome 49 隐藏扩展程序图标 [英] Hide icon of extension with Chrome 49

查看:23
本文介绍了使用 Chrome 49 隐藏扩展程序图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看起来我们可以隐藏 Chrome 48 及更早版本的扩展程序图标.但是在将 Chrome 更新到版本 49(开发频道)后,它会显示我的扩展程序图标 :(

It looks we can hide icon of extension for Chrome 48 and older. But after an update of Chrome to version 49 (dev channel), it displays my extension icon :(

我在 manifest.json 中既没有browser_action"也没有default_icon"(witch 是 Chrome 49 之前版本的提示).

I had neither "browser_action" nor "default_icon" in the manifest.json (witch is the tip for Chrome before version 49).

你们有同样的问题吗?如何隐藏地址栏旁边的图标?

Any of you has the same issue ? How to get hidden the icon next to the address bar ?

推荐答案

这是一个(如果你问我脑残)Chrome 团队更改.

This is a (brain-dead if you ask me) change by Chrome team.

即使您没有 browser_action,您的扩展程序也会显示一个图标(或者如果失败,则显示一个带有扩展程序名称首字母的图块).如果您不声明 browser_action,它将变灰且不可交互,但仍会存在.

Even if you don't have a browser_action, your extension will display an icon (or failing that, a tile with extension name's first letter). If you do not declare a browser_action, it will be greyed out and non-interactive, but will still be there.

这个想法是提醒用户安装了一些潜在的隐蔽扩展.因此,只有用户有权通过右键单击并选择在 Chrome 菜单中隐藏"来隐藏图标.

The idea is to alert the user that some potentially stealthy extension is installed. As such, only the user is empowered to hide the icon, by right-clicking and selecting "Hide in Chrome Menu".

我 100% 肯定这会导致用户混淆,但您无能为力.

I'm 100% positive this will result in user confusion, but there's nothing you can do.

这篇关于使用 Chrome 49 隐藏扩展程序图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆