Blog #1: Extension 101

Date: Oct 29, 2023
Tag: Chrome Extention

Chrome Extension:

If you're looking for a comprehensive introduction to the topic, Google has provided a detailed guide that you can find here. However, for quick reference, here's a concise overview:

What are extensions? - Chrome extensions enhance the browsing experience by adding features and functionality to the Chrome browser.

What should I keep in mind when desinging one? - When you start designing your extension and choosing which features to support, make sure it fulfills a single purpose that is narrowly defined and easy to understand.

How to publish it ? - You can set up a developer account with the Chrome Web Store to host and distribute your extension. Bear in mind that extensions must adhere to the developer program policies.

Web technologies used

Extension files to keep in mind

Architecture overview for the same can be found here.

But the following are some of the most frequently used files:

Developing the "how to" intuition for extension

Helpful tutorial to get your hands dirty :

Debugging a extension

Extensions can access the same Chrome DevTools as web pages. To become an expert in debugging extensions, you will need to know how to locate logs and errors of the different extension components. This tutorial provides fundamental techniques for debugging your extension.

Using TypeScript ?

We can use the npm package chrome-types to take advantage of auto-completion for the Chrome API. This npm package is updated automatically when the Chromium source code changes.