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:
it appears 2 functions defined in object, connect , sendmessage.
what missing?
i found answer. these functions available when javascript running chrome app.
Comments
Post a Comment