{"id":36684,"date":"2022-01-17T00:05:19","date_gmt":"2022-01-16T18:35:19","guid":{"rendered":"https:\/\/techmasala.addastudents.com\/dev\/?p=36684"},"modified":"2022-01-17T00:05:21","modified_gmt":"2022-01-16T18:35:21","slug":"how-to-develop-and-host-a-google-chrome-extension","status":"publish","type":"post","link":"https:\/\/techmasala.addastudents.com\/dev\/how-to-develop-and-host-a-google-chrome-extension\/","title":{"rendered":"How to Develop and Host a Google Chrome Extension?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">* What is the Google Chrome extension?<\/h2>\n\n\n\n<p>Extensions are software programs, built on web technologies (such as HTML, CSS, and JavaScript) that enable users to customize the Chrome browsing experience.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">* Create sample chrome extension<\/h2>\n\n\n\n<p>We&#8217;ll follow the below steps in order to develop the chrome extension.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Extensions start with their <a href=\"https:\/\/techmasala.addastudents.com\/dev\/how-to-integrate-google-maps-api-with-address-field-in-power-apps-portals\/\">manifest<\/a>. Create a file called manifest.json and include the following code.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">{\r\n \"name\": \"Time Zones\",\r\n \"description\": \"Build an Extension!\",\r\n \"version\": \"1.0\",\r\n \"manifest_version\": 3,\r\n    \"browser_action\": {\r\n        \"default_popup\": \"popup.html\",\r\n        \"default_icon\": \"logo.png\"\r\n    }\r\n}\r\n<\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>Extensions can have many forms of a user interface; this one will use a popup. Create and add a file named popup.html to the extension&#8217;s directory<\/li><li>For adding the functionality in the extension, you can use JS(java script) and call that JS code in your html page.<\/li><li>Keep all your files in a separate folder to test the extension<\/li><li>Open the Extension Management page by navigating to chrome:\/\/extensions.<\/li><li>Enable Developer Mode by clicking the toggle switch next to <strong>Developer mode<\/strong>.<\/li><li>Click the <strong>Load unpacked<\/strong> button and select the extension directory.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/zNAeFJ9QqFy-TvllLGyuZe8liZVhobzyewIuPKmVt8A9syaQw4-qZJNbQLdxu89kStb3X71zi9zxh2dVmkA16GGLn4U3vQ2UX5Kwh27CwhIr2gqANNOvgA--Me8cxWtHzhvCq3Li\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">* Publish in the Chrome Web Store<\/h2>\n\n\n\n<p>\u00a0To publish your item to the Chrome Web Store, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Create your item&#8217;s zip file.<\/li><li>Create and setup a developer account.<\/li><li>Upload your item.<\/li><li>Add assets for your listing.<\/li><li>Submit your item for publishing.<\/li><\/ol>\n\n\n\n<p>You can see the below chrome extension which is created and published by us. It&#8217;ll show you other zones&#8217; time.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/imTjknpb5LH8toy8quxacde04_SldGdvqmWPEFxRiemp64N2WBTstzhhZTqzyrjambp6s9YUqCF1NK0y88k3otnn8VjQHXeFKaGokHKGz7Fb4NkggecbhbJRWHyWVUvbiN6-Gnzx\" alt=\"\"\/><\/figure>\n\n\n\n<p><a href=\"https:\/\/chrome.google.com\/webstore\/detail\/time-zones\/cogoahljcblanmjnfbenbbbckcdgaeen\" target=\"_blank\" rel=\"noreferrer noopener\">Time Zones<\/a><\/p>\n\n\n\n<p><strong>References:<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/developer.chrome.com\/docs\/extensions\/mv3\/getstarted\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.chrome.com\/docs\/extensions\/mv3\/getstarted\/<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/developer.chrome.com\/docs\/webstore\/publish\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.chrome.com\/docs\/webstore\/publish\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>* What is the Google Chrome extension? Extensions are software programs, built on web technologies (such as HTML, CSS, and JavaScript) that enable users to customize the Chrome browsing experience. * Create sample chrome extension We&#8217;ll follow the below steps in order to develop the chrome extension. Extensions start with their manifest. Create a file [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":36685,"comment_status":"open","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70,72],"tags":[20,60,773,93,41,775,774,47,45,112,94,98],"class_list":["post-36684","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn-technology-free","category-tech","tag-app","tag-apps","tag-chrome","tag-coding","tag-explore-learn","tag-extension","tag-google-chrome","tag-javascript","tag-js","tag-learning","tag-programming","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/posts\/36684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/comments?post=36684"}],"version-history":[{"count":1,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/posts\/36684\/revisions"}],"predecessor-version":[{"id":36686,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/posts\/36684\/revisions\/36686"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/media\/36685"}],"wp:attachment":[{"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/media?parent=36684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/categories?post=36684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmasala.addastudents.com\/dev\/wp-json\/wp\/v2\/tags?post=36684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}