Tutorial by Examples

manifest.json gives information about the extension, such as the most important files and the capabilities that the extension might use. Among the supported manifest fields for extensions, the following three are required. { "manifest_version": 2, "name": "My Exte...
chrome.runtime.getManifest() returns the extension's manifest in a form of a parsed object. This method works both on content scripts and all extension pages, it requires no permissions, Example, obtaining the extension's version string: var version = chrome.runtime.getManifest().version;

Page 1 of 1