Reputation: 45504
I can't seem to find a way to do this. Any idea how?
Upvotes: 1
Views: 523
Reputation: 94339
You can enable or disable an extension, but it is not possible to know when it crashes.
var id = "afhufhsauofhgshoughueghoegr",
enable = true;
chrome.management.setEnabled(id, enable, function(){
alert("Enabled.")
})
with the permission management
.
"permissions": [
"management"
]
You might try, but I don't know if this will also work for crashing:
chrome.management.onDisabled.addListener
For more information, see the docs.
Upvotes: 1