chrome扩展程序_如何发布您的Chrome扩展程序

chrome扩展程序

In my previous article I wrote, I talked about the building blocks of a Chrome extension. Now, I would like to focus on the other part of building a Chrome extension: what to do when you are done building it. The process in itself is not long nor hard, but there are some things you should pay attention to.

在上一篇文章中 ,我谈到了Chrome扩展程序的构建基块。 现在,我想重点介绍构建Chrome扩展程序的另一部分:构建完扩展程序后该怎么做 。 这个过程本身并不耗时,也不费力,但是您需要注意一些事项。

Every Chrome extension is published on the Chrome Web Store. Think of it as the equivalent to Google’s Play Store or Apple’s App Store, but only for Chrome extensions and themes.

每个Chrome扩展程序都在Chrome网上应用店中发布 。 可以将其视为等同于Google Play商店或Apple的App Store,但仅适用于Chrome扩展程序和主题。

脚步 (Steps)

If you haven’t created one already, you will need to create a Developer account. In it, you will have a Developer Dashboard.

如果尚未创建一个帐户,则需要创建一个开发者帐户。 在其中,您将拥有一个开发人员仪表板。

As I stated in the previous article, there is a $5 one time signup fee if you want to be able to publish Chrome extensions. This will give you the ability to publish up to 20 extensions
正如我在上一篇文章中所述,如果您希望能够发布Chrome扩展程序,则需要支付5美元的一次性注册费。 这将使您能够发布多达20个扩展

Once you are the proud owner of a Developer account, the next step is to upload your Chrome extension to your account. To do this, create a ZIP file with all the files associated with your extension. The only file Google requires you to upload is the manifest.json file. But you will want to add the JavaScript files you have as well.

当您成为开发者帐户的骄傲所有者后,下一步就是将您的Chrome扩展程序上载到您的帐户。 为此,请创建与扩展名关联的所有文件的ZIP文件。 Google唯一需要您上传的文件是manifest.json文件 。 但是您也将要添加自己JavaScript文件。

After that, the next step is to publish our extension. Login to your developer account and go to your Developer Dashboard.

之后,下一步就是发布我们的扩展程序。 登录到您的开发人员帐户,然后转到开发人员仪表板。

There you will see an Add New Item button.

在那里,您将看到“ 添加新项”按钮。

⚠️ Be aware that once you add an extension to your Developer Dashboard you cannot delete it. As long as it is not published, it will not count towards your extension limit.

⚠️请注意,一旦将扩展添加到“开发人员仪表板”中,就无法将其删除。 只要不发布,就不会计入您的扩展名限制。

This will direct you to a page where you can upload the ZIP file we created earlier:

这会将您定向到一个页面,您可以在其中上传我们之前创建的ZIP文件:

Assuming everything went fine, you will be directed to the next page:

假设一切正常,您将被带到下一页:

If you are planning to make changes to your extension, you can use the Upload Updated Package button to re-upload your ZIP file.
如果您打算对扩展名进行更改,则可以使用“上传更新的软件包”按钮重新上传您的ZIP文件。

On this page, you can add an icon that will be shown on the toolbar:

在此页面上,您可以添加图标,该图标将显示在工具栏上:

Add screenshots of your extension (these will be used when a user looks at your extension):

添加扩展程序的屏幕截图(当用户查看您的扩展程序时将使用这些屏幕截图):

And various other features like choosing a Category for the extension (I.E. Fun), choosing the regions where your extension will be available, the pricing of your extension, and other categories which I suggest you take a look at.

还有其他各种功能,例如为扩展选择类别(IE Fun),选择可以使用扩展的区域,扩展的价格以及我建议您查看的其他类别。

When you are done fine tuning the details of your extension, you will arrive at the end of the page and see the following buttons:

完成对扩展程序细节的微调后,您将到达页面末尾,并看到以下按钮:

The two left buttons allow you to save the work you have done so far configuring your extension (or discarding it), and the two right ones are for when you are ready to publish. To see how everything you configured will look on the Chrome Web Store, press the Preview Changes button. When you are satisfied with what you have, click Publish Changes.

左边的两个按钮可让您保存到目前为止配置扩展名(或丢弃扩展名)的工作,右边的两个按钮供您准备发布时使用。 要查看您配置的所有内容在Chrome网上应用店中的外观,请按“ 预览更改”按钮。 当您对自己拥有的内容感到满意时,点击发布更改

Congratulations! You have just published your first Chrome Extension!

恭喜你! 您刚刚发布了第一个Chrome扩展程序!

In your Developer Dashboard you will now see this:

现在,在开发人员控制台中,您将看到以下内容:

Clicking the Stats link will give you analytics regarding your extension (how many impressions, installs and active users). I’m looking forward to seeing your published Chrome extensions.

单击统计信息链接将为您提供有关扩展程序(多少印象,安装和活跃用户)的分析​​。 期待看到您发布的Chrome扩展程序。

翻译自: https://www.freecodecamp.org/news/how-to-publish-your-chrome-extension-dd8400a3d53/

chrome扩展程序

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值