You can just use chrome.runtime.getManifest() to access the manifest data – you don’t need to GET it and parse it.
var manifestData = chrome.runtime.getManifest();
console.log(manifestData.version);
console.log(manifestData.default_locale);
You can just use chrome.runtime.getManifest() to access the manifest data – you don’t need to GET it and parse it.
var manifestData = chrome.runtime.getManifest();
console.log(manifestData.version);
console.log(manifestData.default_locale);