Coding Challenge #47 - Build Your Own Chrome Extension
John Crickett
Helping you become a better software engineer by building real-world applications.
Coding Challenge #47
This challenge is to build your own Chrome extension. Chrome extensions are a software programs that extends the functionality of the Google Chrome web browser. They are typically written in HTML, CSS, and JavaScript, and they modify or enhance the browser’s functionality in some way.
Chrome extensions can add new features, customise the appearance of websites, improve productivity, block ads, manage passwords, and much more. You can install and manage Chrome extensions through the Chrome Web Store.
If You Enjoy Coding Challenges Here Are Four Ways You Can Help Support It
The Challenge - Building A Chrome Extension
For this Coding Challenge you’re going to build a Chrome extension that will customise the look and functionality of each new tab you open in Chrome. It’s drawing on inspiration from the popular extension Bonjourr and the more complicated Momentum.
If you’ve never built a Chrome extension before the Chrome for Developer website has a section on getting started building Chrome extensions.
This Coding Challenge is Sponsored by Alloy Automation:
Stop wasting your time building integrations. Alloy Automation is an integration development platform used by engineering teams at Amazon, Gorgias, Postscript, & others to get rid of the headaches of handling OAuth, API field mappings, and continuously having to add new endpoint support to existing integrations. Founded in 2019, the company is backed by a16z, Bain Capital Ventures, & Y Combinator. Learn more and try out their Unified API today.
Step Zero
Before we begin, please set up your IDE etc. as you like it. This challenge is one you’ll be tackling in JavaScript or TypeScript along with HTML and CSS.
领英推荐
Step 1
In this step your goal is to create the Coding Challenges equivalent to ‘Hello, World’ for Chrome extensions. That is create an extension that:
When you create a new tab, the tab should then look like this:
Continued...
You can find Step 2 and beyond on the Coding Challenges website as build your own Chrome extension..
Or if you'd rather get the whole challenge delivered to you inbox every week, you can subscribe on the Coding Challenges Substack.
2 Other Ways I Can Help You:
Software Engineer | ex-Amazon
1 年John Crickett Thank you for the inspiration! I made this Chrome extension for having a Code Review Guidelines checklist: https://chromewebstore.google.com/detail/code-review-guidelines/ddlkabbmlogedjneafbkaaljclbaaiej with the code at https://github.com/aqib-bhat/code-review-guidelines Learned or refreshed skills related to DOM, Chrome browser local storage, JavaScript, CSS, and overall browser plugin development. For new or experienced software engineers, this browser extension can prove to be a handy set of guidelines when reviewing code. The items are grouped into categories and each items has a checkbox to mark as done for the current review. You can also copy an item's text for use in your CR/PR comments. The selections are not lost as the data is stored in the local browser storage. A button is provided to clear all the selections. I will try to publish this to the Microsoft Edge Add-On store as well.
Software Engineer | Python Enthusiast | AI Nerd | Good Person to Know
1 年I think being able to build your own plugin / extension to many different platforms is underrated. Slack, Discord, Chrome? The list continues.
SWE @ Aydi | CS @ UPenn
1 年Omg you actually made one for chrome extensions!! This made my day, will definitely give it a try this weekend!