How to specify author of Extension in Manifest file

邮差的信 提交于 2020-01-01 07:21:08

问题


I Hope Question itself conveys what I want. I wrote a an Extension and want to specify name of the author in Manifest file. Is this possible? If yes.. How can I do that.


回答1:


You can specify an author as described at https://developer.chrome.com/extensions/manifest.

"author": ...,



回答2:


There is no field in the Manifest file to specify the author. You can, however, add a comment in the file where you can write whatever you want.

Also note that when you publish your Extension to the Chrome Webstore you can edit your Developer display name this is the name that will be visible to people when they check out the Extension in the Webstore.




回答3:


There isn't a field you can use to specify author/authors. Even though I've seen some extensions before that used "authors" field, (they are using manifest v1)

"authors": [ {
  "name": "Name",
  "email": "example@gmail.com"
 } ],

but if you make a new extension now, manifest v2 doesn't allow it anymore and will throw an error. you can check this page for changes or the chrome dev news http://developer.chrome.com/extensions/manifest.html

The best that you can do at the moment is add a signature to your html files as html comments and you can also add it on your js files. maybe create some compiler tool that will auto append those comments to those files upon deployment.




回答4:


So, heres what i found seems to be working now.

  • Open your dashboard - https://chrome.google.com/webstore/developer/dashboard
  • Scroll down to "Your Developer Account" section.
  • You can update the display name and email address here.


来源:https://stackoverflow.com/questions/9391567/how-to-specify-author-of-extension-in-manifest-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!