saravanan mp saravanan mp - 1 year ago 125
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

Answer Source

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

"permissions": [


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download