Milind Anantwar Milind Anantwar - 5 months ago 64
Javascript Question

Remove Chrome extension via code

I have created a Chrome application. When the user adds it to the Chrome browser, a form is opened as a part of the installation. I want to delete the added extension when the installation is not done correctly.

How do I trigger deletion of a Chrome extension?


An extension can remove itself by calling;.

If your extension wants to remove another extension, declare the management permission in the manifest file and call'<id of other extension>');.

You cannot uninstall an extension from the command line any more as of Chrome 36.0.1960.0 (using --uninstall-extension, crbug 351294).