Chrome Calendar Plugin Development

Source: Internet
Author: User

Find a calendar on the Mac is quite troublesome, just think of the previous JQ plugin written in Chrome plug-in, it is a blind toss wrote a

First look at the directory structure of this plugin, very simple

Calendda

|--HTML\CSS\JS//The static resource file we need

|--manifest.json//chrome configuration file

The main point is how this configuration file is written.

{  "name": "Calendar",             //plug-in name       "Manifest_version": 2,        //config file version number  "version": "0.3.0",               // Plugin version  "Icons": {      "$": "Shop.png"            //Store plugin picture  },  "description": "A simple calendar plugin, you can enter the date, view the lunar calendar",      / /Description  "Browser_action": {                           "Default_icon": "Icon.png",         //default plugin picture    "default_title": "Calendar",                // Default title    "Default_popup": "mycal.html"   //Popup page  }}                

  

And then you can get chrome to pack.

The key to a. Pem suffix is automatically generated when you pack up, and you'll need it the next time you pack the plugin.

After packing. Drag the. crx suffix file into the cross-site installation is OK, to see the package looks

Plug-in to use a large image with 48x48, small figure with 19x19

It looks pretty good, of course. Plug-ins are also richer in functionality, wider in application,

If there is an error in the text, please correct me.

Chrome Calendar Plugin Development

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.