saravanan mp saravanan mp - 6 months ago 60
Javascript Question

Getting error while detect chrome extension installed or not using javascript

Here is My code,

var myExtension = "my_extention_id" );
if (myExtension.enabled)
// installed
else { ... }

source :
i have tried this method. But i'm getting following error: Uncaught TypeError: Cannot read property 'get' of undefined


If it's undefined then you're missing the management declaration in the manifest:

"permissions": [