简体   繁体   English

Manifest.json中的Chrome扩展程序的自定义值?

[英]Custom Values in Manifest.json for Chrome Extensions?

Is it allowed to have custom values saved in manifest.json for a Chrome extension? 是否允许在manifest.json中为Chrome扩展程序保存自定义值? 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. 因为它是json,我想在manifest.json中保存一些信息,特别是因为Chrome API可用于Opera,我需要一些区分数据。

Does Chrome store complain if there is any custom data in manifest.json? 如果manifest.json中有任何自定义数据,Chrome存储是否会抱怨?

No, it's not allowed to use custom values in Chrome Extension manifest.json file. 不,不允许在Chrome扩展程序manifest.json文件中使用自定义值。 You can refer below given link. 您可以参考下面给出的链接。 @John @约翰

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

You can only use those parameters in manifest.json. 您只能在manifest.json中使用这些参数。 If you will use others parameters rather than allowed, it will throw an error at time of importing chrome extension. 如果您将使用其他参数而不是允许参数,则在导入chrome扩展时会抛出错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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