10 min read

Building a Chrome extension is one of the few software projects where you can ship something useful in a weekend and have it in front of real users by Monday. The platform is small, the docs are decent, and the distribution is built in. But there are sharp edges, mostly around Manifest V3 and the review process, that can waste days if you walk in blind.

This is a practical look at chrome extension development from people who actually ship product. At Tinkrd we build apps for families, so extensions are not our main game, but we have built internal tools and tinkered enough to know where the friction lives. Here is what matters.

From the studio

We build apps people actually keep.

Tinkrd is a small indie studio making focused, high-quality apps for everyday life. See what we're working on.

View our apps

What a Chrome extension actually is

Strip away the marketing and a Chrome extension is just a folder of web files. HTML, CSS, JavaScript, some images, and one required file called manifest.json. Chrome reads the manifest, figures out what your extension is allowed to do, and wires everything together. That is the whole model.

The thing that trips people up is that an extension is not one running program. It is several separate contexts that each do a specific job and talk to each other through messages. Understanding these pieces upfront saves you a lot of confusion later.

None of these share memory directly. The popup cannot just call a function in your content script. They pass messages. This is the single biggest mental shift if you are used to building a normal single page app.

Manifest V3, and why it changes how you build

Every new extension must use Manifest V3. The old V2 format is being phased out, so do not follow any tutorial written before 2023 without checking. The most important change is that background pages are gone, replaced by service workers that can be killed at any time.

In practice this means you cannot keep state in a global variable in your background script and expect it to survive. If you store a counter in memory, it can vanish the moment Chrome decides your worker is idle. Anything that needs to persist goes into chrome.storage.

Here is a minimal but real Manifest V3 file for an extension that adds a button to web pages and remembers a setting.

{
  "manifest_version": 3,
  "name": "My Extension",
  "version": "1.0.0",
  "description": "Adds a helper button to pages.",
  "action": {
    "default_popup": "popup.html"
  },
  "permissions": ["storage", "activeTab"],
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "matches": ["https://*/*"],
      "js": ["content.js"]
    }
  ]
}

A few things to notice. The permissions array should be as short as you can make it. Every permission you add makes the review slower and scares users at install time. The activeTab permission is your friend because it grants access to the current tab only when the user clicks your icon, which avoids requesting broad host permissions.

Reading and writing storage looks like this in a service worker or popup.

// Save a setting
await chrome.storage.sync.set({ darkMode: true });

// Read it back
const { darkMode } = await chrome.storage.sync.get('darkMode');
console.log(darkMode);

Use storage.sync when you want settings to follow the user across their signed in Chrome browsers, and storage.local when the data is large or device specific.

Picking your stack

You do not need a framework to build a Chrome extension. Plain HTML, CSS, and JavaScript work perfectly for the popup and options page, and for a lot of extensions that is the right call. Less tooling means less to break and faster reviews. But as your extension grows, a few choices make life easier.

The plain approach

Write the files by hand, load the folder directly into Chrome, and you are done. No build step, no bundler, no waiting. For a single popup with a few buttons this is genuinely the fastest path. The downside is you lose modern imports, TypeScript, and any npm packages unless you wire up a bundler yourself.

The tooled approach

Once you want TypeScript, React in the popup, or npm dependencies, you need a build step. The tool that has made this least painful for us is a Vite plugin built for extensions. It handles the manifest, bundles each context correctly, and gives you fast rebuilds.

Option Best for Build step Cost
Plain HTML/JS Simple popups, learning None Free
Vite + CRXJS plugin TypeScript, React, npm deps Yes, fast Free
WXT framework Cross browser, conventions Yes Free
Plasmo Full featured, opinionated Yes Free tier

Our honest advice is to start plain. Add a framework only when the lack of one is actually slowing you down. We have seen more people stall on build config than on actual extension logic. If you want a deeper walkthrough of the basics, we wrote a companion piece on how to build a Chrome extension and what you actually need to know.

The development loop

Getting a tight feedback loop early makes the whole project more pleasant. Here is the workflow that works.

  1. Open Chrome and go to chrome://extensions.
  2. Turn on Developer mode in the top right.
  3. Click Load unpacked and select your extension folder.
  4. Make a change, then click the reload icon on your extension card.

That manual reload gets old fast. If you use a build tool with hot reload, your extension updates as you save. For the service worker, you can inspect it by clicking the service worker link on your extension card, which opens a dedicated DevTools window. This is where your background logs live, and a lot of people miss it because the logs do not show up in the page console.

Content scripts log to the console of the page they run on, which makes sense once you remember they run inside that page. Popup logs show up if you right click the popup and choose Inspect. Three contexts, three places to look. Keep that map in your head and debugging gets a lot easier.

One more thing about messaging. When the popup needs the content script to do something, you send a message to the active tab.

// In popup.js
const [tab] = await chrome.tabs.query({ active: true, currentWindow: true });
chrome.tabs.sendMessage(tab.id, { type: 'highlight' });

// In content.js
chrome.runtime.onMessage.addListener((msg) => {
  if (msg.type === 'highlight') {
    document.body.style.outline = '3px solid orange';
  }
});

Keep messages small and typed if you can. A loose message system gets messy quickly once you have more than a couple of message types.

Publishing to the Chrome Web Store

This is the part nobody warns you about. The code is the easy half. Getting through review and writing a listing that survives is where indie developers lose time.

The one time setup

You register as a developer through the Chrome Web Store dashboard and pay a one time five dollar fee. That is it for the platform cost, which is one of the nicest things about the ecosystem compared to mobile app stores. You upload your extension as a zip of the folder, not the folder itself.

The review

Review times vary from a few hours to a couple of weeks. The biggest cause of rejection is permissions that do not match what your extension visibly does. If you request broad host access or remote code, you need a clear justification in the listing. Be honest and specific about why each permission exists.

Item What to expect
Developer fee 5 USD, one time
Review time Hours to about two weeks
Common rejection Unjustified or broad permissions
Privacy policy Required if you handle any user data
Update review Each new version is reviewed again

Listing details that matter

You need an icon in several sizes, at least one screenshot at the right dimensions, a short description, and a detailed description. If your extension touches any user data, you must include a privacy policy and fill out the data usage disclosures honestly. Skipping or fudging this is the fastest way to get pulled later. Write the privacy policy as a plain page on a site you control and link to it.

The mistakes that cost real time

A few patterns come up again and again, and most are avoidable once you know about them.

If you are an indie developer or a small team weighing whether an extension is the right shape for your product, the broader thinking is similar to any small product bet. We have written about that decision more generally in our notes on the indie app development journey from first idea to launch day, and a lot of the lean habits there apply here too.

Frequently asked questions

How much does it cost to publish a Chrome extension?

The Chrome Web Store charges a one time developer registration fee of five dollars. After that there is no per extension or per update cost. Your only other expenses are whatever you spend on hosting a privacy policy page or any backend your extension talks to.

Do I need to know React to build a Chrome extension?

No. Plenty of useful extensions are plain HTML, CSS, and JavaScript with no framework at all. React only helps when your popup or options page gets complex enough that managing the UI by hand becomes painful. Start simple and add a framework only when you feel the need.

How long does Chrome Web Store review take?

It ranges from a few hours to about two weeks, and there is no guaranteed timeline. Reviews go faster when your permissions are minimal and clearly match what the extension does. Each new version you publish goes through review again, so build that delay into your release planning.

Can a Chrome extension load code from my server?

Not in the way you might hope. Manifest V3 forbids executing remotely hosted code, so all your JavaScript must ship inside the extension package. You can still fetch data from your server and act on it, you just cannot download and run new scripts on the fly.

Will my extension work in other browsers?

Often yes, with adjustments. Edge, Brave, and Opera are built on the same engine and accept Chrome extensions with little or no change. Firefox uses a similar but not identical API, so cross browser frameworks like WXT exist to smooth over the differences if you want to ship everywhere.

Chrome extension development rewards small, focused ideas more than big sprawling ones. The platform is friendly, the cost is almost nothing, and you can be live in days. Keep your permissions tight, respect that the service worker can disappear, and ship the smallest useful version first.

We’re building in the open

Tinkrd is a small studio making thoughtful apps for families. Our first app is launching soon.

See what we’re building

T
The Tinkrd Team

We are a small independent app studio in California. We write about what we are learning as we build and ship products, from first commit to first customer.