Mithril
Mithril

Reputation: 13778

How to apply a fix to an installed chrome extension?

I am using a popup blocker named JavaScript Popup Blocker.

Sometimes this extension becomes broken, I have to reinstall it (e.g. it breaks when I add a website with a URL like http://xxxx:6666/).

Today, it happen again and I decided to fix the error (last update is in 2013, it seems that author would not fix this error in future). I found the extension folder by chrome extension ID, and made some changes to the source code.

But Chrome says this extension is broken and needs fixing after I restart Chrome. I even repacked the extension and installed again, it still doesn't work.

Upvotes: 0

Views: 106

Answers (1)

Mithril
Mithril

Reputation: 13778

Ok, I found the answer myself.

Remove key in manifest.json, remove the _metadata folder as well(as Xan suggest), then repack the extension.

Then Chrome would not say this extension is broken after installing.

Upvotes: 1

Related Questions