简体   繁体   中英

Custom Values in Manifest.json for Chrome Extensions?

Is it allowed to have custom values saved in manifest.json for a Chrome extension? Because it is json, I want to save some information in manifest.json, especially because Chrome API is available for Opera, I need some distinguish data.

Does Chrome store complain if there is any custom data in manifest.json?

No, it's not allowed to use custom values in Chrome Extension manifest.json file. You can refer below given link. @John

https://developer.chrome.com/extensions/manifest

You can only use those parameters in manifest.json. If you will use others parameters rather than allowed, it will throw an error at time of importing chrome extension.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM