阿C的博客

Category: Browser

两个亮点,一个是强烈推荐插件:InfinityNewTab;一个是评论网友的名字叫 “ID长的跟我吊一样长”。 :(°∀°)ノ

如何在5分钟内开发一款Chrome扩展

♥ How To Make a Chrome Extension In 5 Minutes? ♥


了解如何制作Chrome扩展,以在5分钟内用美丽的随机图片覆盖创建新标签功能。
♥ Get to learn how to make a chrome extension to override new tab with beautiful random images in only 5 minutes. ♥

介绍

♥ Introduction ♥

Chrome扩展是什么?在着手开发之前,我们首先需要明确Chrome扩展的基本概念。具体来讲,这是一款用于强化浏览器功能的插件。
♥ Before making a Chrome Extension, we must have a basic idea what actually an extension is, it is nothing but plugin or add-on made to enhance the features of your browser. ♥

在本文中,我们将开发一款能够显示美妙背景图像的Chrome扩展,其同时亦可在您打开新选项卡时显示每日名言。这款扩展将适用于全部基于chromium内核的浏览器。
♥ In this post, we will make a chrome extension that will show awesome backgrounds every time you click new tab and will show the quote of the day. This extension will work in Google Chrome as well as all the other chromium based browsers. ♥

背景

♥ Background ♥

先决条件

♥ Prerequisites ♥

您需要掌握以下基础知识:
♥ You need to know the basics of the following: ♥

  • HTML
  • CSS
  • JavaScript
  • HTML
  • CSS
  • JavaScript

如果您已经熟悉上述技术,那么您已经知道了对应的技术是做何使用。我们将利用HTML、CSS与JavaScript构建一套简单网站,并将其托管在谷歌Chrome当中。我们可以在JavaScript的帮助下添加业务逻辑。要制作Chrome扩展程序,我们应当遵循以下最佳实践或格式。
♥ If you are already familiar with the above technology, then you would already know what the respective technologies are. We will make a simple website with HTML, CSS and JavaScript and host it inside the Google Chrome. We can add our business logic with the help of JavaScript. To make a Chrome Extension, there are some best practices or formats that we should follow. ♥

Continue reading

Copyright © 2020 阿C的博客

Theme by AC.AsiaUp ↑