Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 903
John Sewell Avatar asked Mar 11 '16 10:03

John Sewell


People also ask

What should be included in manifest JSON?

Using manifest. json , you specify basic metadata about your extension such as the name and version, and can also specify aspects of your extension's functionality (such as background scripts, content scripts, and browser actions).

How do I edit a manifest JSON file?

Editing a manifestOpen the script project in the Apps Script editor. At the left, click Project Settings settings. Select the Show "appsscript. json" manifest file in editor checkbox.

Can you use jquery in a chrome extension?

You can just put jquery. js into extension folder and include it in the manifest: { "name": "My extension", ... "content_scripts": [ { "matches": ["http://www.google.com/*"], "css": ["mystyles.

What is the manifest file in Chrome extensions?

The manifest file uses JSON format to describe the important information about the extension. It contains fields that are required and recommended while others are optional depending on the extension you are building. name refers to the name of the extension and should be up to 45 characters.


1 Answers

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.

like image 149
Ghanshyam Katriya Avatar answered Sep 28 '22 02:09

Ghanshyam Katriya