javascript - chrome.runtime.getManifest() is not defined -


i'm trying work javascript accesses chrome.runtime in google chrome. script calls chrome.runtime.getmanifest() function, console says function not defined. i've read through google's documentation on subject, , should there. i've done research, , else, using function seems non-issue, feel i'm missing something. however, when run console.log(chrome.runtime); see this:

console

it appears 2 functions defined in object, connect , sendmessage.

what missing?

i found answer. these functions available when javascript running chrome app.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -