Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot load extension with file or directory name _metadata

I get the .crx file of an extension name simulty in order to edit the source ( for personal use )

So i have follow all the steps : get .crx unzip .crx Load in Google chrome extension But when i try to load i have the same error " Cannot load extension with file or directory name _metadata " There is a _metadata and a locales files in the directy and it seems that google chrome don't want to load it. Is there any way to take off the "" ... and load it ? I heard that its a google chrome bug...

Anybody find the solution ? Or know any other way to edit the source of an chrome extension?

like image 404
nathalizator Avatar asked Apr 05 '15 10:04

nathalizator


1 Answers

You can just delete the _metadata folder when loading an unpacked extension.

It contains cryptographic hashes of files to ensure they have not been modified. It is not expected to be present for an unpacked extension (it's automatically added by CWS when generating a crx), so just delete it.

I would also suggest editing the manifest to wipe update_url and key fields (if present), to completely dissociate with the original extension.

like image 117
Xan Avatar answered Sep 30 '22 18:09

Xan