

So we can see our extension in the browser. So, let us first load the extension in the browser. Now, its time to see our extension in action. The extension will be loaded into the browser. To do so, go to chrome://extensions and switch on the developer mode and click on load unpacked. Steps to See the extension in actionįinally, We need to load the extension into the browser. Then, it will ask the chrome to download the images in a folder named GoogleImages in the users download directory. This will take use of onMessage event and extract the image sources. This message contains image source information when the user clicks on download button. We have defined a listener event here to listen to the message we sent from popup.js. The following is a simple example of manifest.json: ) This file when loaded into chrome tells the browser details about the extension. The first step is to create a file called manifest.json which contains details about the extension. To develop the extension to download images, We first need a manifest file. Button.onclick Steps to Develop the extension 1. A Page Action extension is the one which runs on specific pages defined in the background file.Ĥ. A browser action extension is one which runs on all pages.

This extension is desired to download images from google images page until the user scrolls. In this post, We will see how to develop a simple chrome extension which can download all images from google pages.
