Compile the Chrome browser plug-in

Source: Internet
Author: User

1. Create a folder helloworld.

2. Use notepad to create a manifest. JSON file in the folder. Note that the file is saved in UTF-8. The chromium browser supports UTF-8 files, while notepad creates ANSI files by default.

3. The code in JSON is as follows:

{
"Name": "My first extension ",
"Version": "1.0 ",
"Description": "I did this myself .",
"Browser_action ":{
"Default_icon": "icon.png"
}
}

4. open the options under "customize and control Google Chrome" in chrome, select "Extended Program" under "tool", and select "Developer mode ", click "load the developing extension", and then OK!

 

Icon.png:

Put it in the Level directory of manifest. JSON.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.