How to Get Extension Manifest Information
Working on a web extension can be kinda wild — on one side you’re essentially just coding a website, on the other side you’re limited to what the browser says you can do in the extension execution environment. One change in that environment is coming January 2023 — pushing extensions to move to manifest version 3. I recently got curious about whether other popular extensions had completed the version 3 update.
Executing the following command in the background page (manifest version 2) or service worker (version 3) will provide you the extension’s manifest:
chrome.runtime.getManifest()
The getManifest call returns a large object detailing the extension’s... more →
Posted in: JavaScript