简体   繁体   English

编辑chrome扩展的清单文件

[英]Edit manifest file of chrome extension

I am a beginner and trying to make an extension for chrome. 我是初学者,并尝试对chrome进行扩展。 I have a manifest.json file and I want to edit this file interactively. 我有一个manifest.json文件,我想以交互方式编辑此文件。 This means that a user will enter the information and my manifest.json file should change accordingly. 这意味着用户将输入信息,我的manifest.json文件应相应更改。 How can I do it? 我该怎么做?

You can execute scripts on any page using Content Scripts . 您可以使用内容脚本在任何页面上执行脚本。 Just set the matches value to * : http://code.google.com/chrome/extensions/content_scripts.html 只需将匹配值设置为*http//code.google.com/chrome/extensions/content_scripts.html即可

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

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