google-chrome-extension manifest.json Obtaining manifest from extension code

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!


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;

Got any google-chrome-extension Question?