Is there a way for a Chrome extension to read properties from manifest.json? I’d like to be able to read the version number and use it in the extension.
Is there a way for a Chrome extension to read properties from manifest.json ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can just use
chrome.runtime.getManifest()to access the manifest data – you don’t need to GET it and parse it.