为什么我的Chrome扩展程序变灰? [英] Why is my Chrome Extension grayed out?

查看:1384
本文介绍了为什么我的Chrome扩展程序变灰?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题



我写的一个chrome扩展是灰色的,我找不到原因。



< h3>上下文

我编写并提交了一个名为



After




Problem

A chrome extension I wrote is grayed out, and I can't figure out why.

Context

I wrote and submitted a Chrome Extension called Pull Favors to the Chrome webstore.

It uses the CSS order property to sort and group GitHub Pull-Requests in a logical way.

The other day I noticed that several of my extensions were grayed out, and 'blocked'--meaning they no longer work. One of these was Pull Favors.

According to this support article:

If you see a message saying "Extensions Disabled," it's because Chrome has turned off one or more of your extensions to keep your data safe while you're browsing the Internet. The extensions that Chrome turned off either didn't come from the Chrome Web Store or were installed without your permission."

My extension is published in the Chrome webstore and was certainly installed with my permission.

I've tried uninstalling and reinstalling to no avail.

I suspect there's something wrong with my extension (since a few other extensions seem to still work), but I can't figure out what it is or find anything about it on the internet.

What's going on?

Research

Chrome seems to have implemented a new policy in November 2013, which has caused some uproar in the community, which prevents Windows users from installing extensions from outside the web store.

I'm not sure why this is affecting me, as I'm an OS X user and, as I said, my extension is distributed through the webstore.

解决方案

Add browser_action.default_icon in your manifest.json file

{
  ...

  "browser_action": {
    "default_icon": "icons/icon-32.png"
  },

  ...
}


Before

After

这篇关于为什么我的Chrome扩展程序变灰?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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