This extension takes a random image from our collection of 100 best images and renders it when the user opens a new browser tab. In the lower left corner the logo of our official site is displayed next to the title and image credit.
• LICENSE
• manifest.json
• README.md
+ icons/
• ESA-Hubble128.png
• ESA-Hubble32.png
• ESA-Hubble64.png
+ top100/
• top100.css
• top100.html
• top100.js
• xmlToJSON.js
+ img/
• logo.png
• popup.jpg
Every extension has a JSON-formatted manifest file, named manifest.json, that provides important information. Using manifest.json, you specify basic metadata about your extension such as the name and version, and can also specify aspects of your extension's functionality (such as background scripts, content scripts, and browser actions).
We strongly recommend you check this link
Clone the repository, and update your origin url:
git clone https://github.com/encisosystems/top100-chrome-extension
Our extension modifies the new tab of the Google Chrome browser to render an image from the Top 100 collection from the ESA/Hubble site. The images are obtained with a query to an API that provides the information in XML format from which the image title and the url of the resource are extracted.
Once the repository is cloned, you can start developing new features or customizing our source code. To test the extension in development you must access the extensions panel of your Google Chrome browser and enable developer mode. With the developer mode active you must load the unzipped extension and perform the corresponding tests
Before you can publish items on the Chrome Web Store, you must register as a CWS developer and pay a one-time registration fee. You must provide a developer email when you create your developer account.
To register, just access the developer console. The first time you do this, a registration screen appears as shown here:
Once you pay the registration fee and agree to the terms, you will not see this registration page again.
To upload your item, use the Chrome Developer Dashboard. If you need the item ID to complete your item's code, then you need to upload the item while you're still writing its code. Otherwise, you can wait until the item is finished. You can upload your item many times before submitting it for review.
Here's how to upload your item:
- Go to the dashboard
- Click the Add new item button
- Click Choose file > your zip file > Upload. If your item's manifest and ZIP file are valid, you can edit your item on the next page
You need to fill out additional listing information before you can publish, as contained in the left-hand tabs. Here is a quick summary of the information on these tabs.
To publish your item:
- Make sure you've completed the details on all the tabs
- Click the Submit for Review button
- The following dialog appears, letting you confirm that you want to submit the item for review:
After you submit the item for review, it will undergo a review process. The time for this review depends on the nature of your item.