<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: James Brown</title>
    <description>The latest articles on DEV Community by James Brown (@james7brown).</description>
    <link>https://dev.to/james7brown</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3957077%2F5d7c3cdd-817e-43ae-ba07-8840f78be670.png</url>
      <title>DEV Community: James Brown</title>
      <link>https://dev.to/james7brown</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/james7brown"/>
    <language>en</language>
    <item>
      <title>What I Learned Building My First Chrome Extension for Google Calendar</title>
      <dc:creator>James Brown</dc:creator>
      <pubDate>Thu, 28 May 2026 17:32:05 +0000</pubDate>
      <link>https://dev.to/james7brown/what-i-learned-building-my-first-chrome-extension-for-google-calendar-3m7b</link>
      <guid>https://dev.to/james7brown/what-i-learned-building-my-first-chrome-extension-for-google-calendar-3m7b</guid>
      <description>&lt;p&gt;Recently I launched my first Chrome extension: &lt;strong&gt;Tint Calendar&lt;/strong&gt;, a small tool that adds more color options and text color customization to Google Calendar.&lt;/p&gt;

&lt;p&gt;The idea was simple.&lt;/p&gt;

&lt;p&gt;I use Google Calendar a lot, and at some point the default color options started to feel too limited. I wanted more control over event colors, better readability, and a more flexible way to visually organize my calendar.&lt;/p&gt;

&lt;p&gt;So I decided to build a browser extension.&lt;/p&gt;

&lt;p&gt;At first, it looked like a small side project.&lt;/p&gt;

&lt;p&gt;In reality, it taught me much more than I expected: about browser extensions, Manifest V3, DOM integration, permissions, Chrome Web Store publishing, product positioning, SEO, and the painful truth that building the product is only half of the work.&lt;/p&gt;

&lt;p&gt;Here are the main lessons I learned.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Browser extensions are small products, not just small scripts
&lt;/h2&gt;

&lt;p&gt;Before building the extension, I thought of it mostly as “some JavaScript running on a page.”&lt;/p&gt;

&lt;p&gt;Technically, that is partly true.&lt;/p&gt;

&lt;p&gt;But once you want to publish it and give it to real users, it becomes a product.&lt;/p&gt;

&lt;p&gt;You have to think about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;permissions,&lt;/li&gt;
&lt;li&gt;browser compatibility,&lt;/li&gt;
&lt;li&gt;user trust,&lt;/li&gt;
&lt;li&gt;privacy,&lt;/li&gt;
&lt;li&gt;store screenshots,&lt;/li&gt;
&lt;li&gt;onboarding,&lt;/li&gt;
&lt;li&gt;edge cases,&lt;/li&gt;
&lt;li&gt;updates,&lt;/li&gt;
&lt;li&gt;product description,&lt;/li&gt;
&lt;li&gt;SEO,&lt;/li&gt;
&lt;li&gt;support.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That was probably my first real lesson.&lt;/p&gt;

&lt;p&gt;A Chrome extension may be small in code size, but it still needs product thinking.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Manifest V3 changes how you think about extension architecture
&lt;/h2&gt;

&lt;p&gt;Chrome extensions now use Manifest V3, and that affects how you structure the project.&lt;/p&gt;

&lt;p&gt;You usually work with things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;manifest.json&lt;/code&gt;,&lt;/li&gt;
&lt;li&gt;content scripts,&lt;/li&gt;
&lt;li&gt;service workers,&lt;/li&gt;
&lt;li&gt;browser storage,&lt;/li&gt;
&lt;li&gt;host permissions,&lt;/li&gt;
&lt;li&gt;extension permissions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For my case, the most important part was the content script, because Tint Calendar needs to interact with the Google Calendar page itself.&lt;/p&gt;

&lt;p&gt;A simplified structure looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"manifest_version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Tint Calendar"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"1.0.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"permissions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"storage"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"host_permissions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"https://calendar.google.com/*"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"content_scripts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"matches"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"https://calendar.google.com/*"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"js"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"content.js"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Of course, the real extension has more details, but this gives the basic idea.&lt;/p&gt;

&lt;p&gt;Manifest V3 also makes you think more carefully about what should run in a content script and what should live in the extension background/service worker layer.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Working with someone else’s UI is fragile
&lt;/h2&gt;

&lt;p&gt;This was one of the most important lessons.&lt;/p&gt;

&lt;p&gt;Google Calendar is not my application. I do not control its DOM, CSS classes, layout, updates, or internal structure.&lt;/p&gt;

&lt;p&gt;That means any extension that integrates with it has to be careful.&lt;/p&gt;

&lt;p&gt;If Google changes something in the UI, the extension may break.&lt;/p&gt;

&lt;p&gt;This is very different from building a normal web app where you own the markup and components.&lt;/p&gt;

&lt;p&gt;When working with an external app UI, you have to think defensively:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;avoid relying too much on unstable class names,&lt;/li&gt;
&lt;li&gt;observe UI changes carefully,&lt;/li&gt;
&lt;li&gt;handle missing elements,&lt;/li&gt;
&lt;li&gt;avoid breaking the original page behavior,&lt;/li&gt;
&lt;li&gt;make the extension fail gracefully.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is the kind of work that looks simple until you actually have to make it reliable.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Permissions matter a lot
&lt;/h2&gt;

&lt;p&gt;When you build a Chrome extension, permissions are not just a technical detail.&lt;/p&gt;

&lt;p&gt;They are part of user trust.&lt;/p&gt;

&lt;p&gt;If your extension asks for too much access, users may not install it. And honestly, they probably should not.&lt;/p&gt;

&lt;p&gt;For Tint Calendar, I wanted to keep the permission model as small as possible.&lt;/p&gt;

&lt;p&gt;The extension needs access to Google Calendar pages because that is where it works. It also uses browser storage to save user color preferences.&lt;/p&gt;

&lt;p&gt;That is it.&lt;/p&gt;

&lt;p&gt;No extra account.&lt;br&gt;
No server-side calendar data.&lt;br&gt;
No unnecessary tracking.&lt;/p&gt;

&lt;p&gt;This became an important product decision, not just a technical one.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Local storage is simple and good enough for an MVP
&lt;/h2&gt;

&lt;p&gt;For the first version, I did not want to build accounts, cloud sync, or backend infrastructure.&lt;/p&gt;

&lt;p&gt;So I used browser storage for saving preferences.&lt;/p&gt;

&lt;p&gt;For a small utility extension, this is a good starting point.&lt;/p&gt;

&lt;p&gt;It keeps the product lightweight and reduces complexity.&lt;/p&gt;

&lt;p&gt;The tradeoff is that data may not sync across browsers/devices unless you specifically build that behavior. But for an MVP, simplicity is often the right choice.&lt;/p&gt;

&lt;p&gt;A product does not need a backend just because developers like building backends.&lt;/p&gt;

&lt;p&gt;And yes, I am saying this as a backend developer.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Chrome Web Store publishing is a product exercise
&lt;/h2&gt;

&lt;p&gt;Publishing to the Chrome Web Store is not just uploading a zip file.&lt;/p&gt;

&lt;p&gt;You need to prepare:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;extension name,&lt;/li&gt;
&lt;li&gt;short description,&lt;/li&gt;
&lt;li&gt;full description,&lt;/li&gt;
&lt;li&gt;screenshots,&lt;/li&gt;
&lt;li&gt;promotional images,&lt;/li&gt;
&lt;li&gt;privacy policy,&lt;/li&gt;
&lt;li&gt;permission justifications,&lt;/li&gt;
&lt;li&gt;category,&lt;/li&gt;
&lt;li&gt;support email,&lt;/li&gt;
&lt;li&gt;store listing copy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This part took more thinking than I expected.&lt;/p&gt;

&lt;p&gt;You need to explain the product clearly and honestly.&lt;/p&gt;

&lt;p&gt;What does it do?&lt;br&gt;
Who is it for?&lt;br&gt;
Why should someone trust it?&lt;br&gt;
Why does it need these permissions?&lt;/p&gt;

&lt;p&gt;If the product is small, the explanation should be even clearer.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Screenshots are more important than you think
&lt;/h2&gt;

&lt;p&gt;For a visual extension, screenshots matter a lot.&lt;/p&gt;

&lt;p&gt;People do not want to read a long description first. They want to see what changes.&lt;/p&gt;

&lt;p&gt;For Tint Calendar, the key visual message is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;before: limited default Google Calendar colors,&lt;/li&gt;
&lt;li&gt;after: more event colors and text color customization.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That sounds obvious, but it took me a while to realize that screenshots are not just decoration.&lt;/p&gt;

&lt;p&gt;They are part of the conversion funnel.&lt;/p&gt;

&lt;p&gt;A good screenshot should answer the question:&lt;/p&gt;

&lt;p&gt;“What will this extension do for me?”&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Building is easier than distribution
&lt;/h2&gt;

&lt;p&gt;This was probably the biggest lesson.&lt;/p&gt;

&lt;p&gt;Building the extension was fun.&lt;/p&gt;

&lt;p&gt;Getting people to discover it is much harder.&lt;/p&gt;

&lt;p&gt;After publishing, I quickly realized that the Chrome Web Store does not magically bring users. You still need distribution.&lt;/p&gt;

&lt;p&gt;That means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SEO,&lt;/li&gt;
&lt;li&gt;articles,&lt;/li&gt;
&lt;li&gt;directories,&lt;/li&gt;
&lt;li&gt;Reddit discussions,&lt;/li&gt;
&lt;li&gt;Product Hunt,&lt;/li&gt;
&lt;li&gt;YouTube demos,&lt;/li&gt;
&lt;li&gt;backlinks,&lt;/li&gt;
&lt;li&gt;reviews,&lt;/li&gt;
&lt;li&gt;community feedback.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wrote a guide about changing colors in Google Calendar because that is what people actually search for.&lt;/p&gt;

&lt;p&gt;Most users do not search for your product name.&lt;/p&gt;

&lt;p&gt;They search for their problem.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“how to change colors on Google Calendar”&lt;/li&gt;
&lt;li&gt;“how to add more colors to Google Calendar”&lt;/li&gt;
&lt;li&gt;“Google Calendar custom colors”&lt;/li&gt;
&lt;li&gt;“Google Calendar text color”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That changed how I thought about marketing.&lt;/p&gt;

&lt;p&gt;The product should meet the user at the problem, not expect the user to know the product already.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Naming and positioning are hard
&lt;/h2&gt;

&lt;p&gt;I started with the name Tint Calendar because I liked the idea of adding color and visual clarity.&lt;/p&gt;

&lt;p&gt;But then I had to think about search intent.&lt;/p&gt;

&lt;p&gt;People do not search for “Tint Calendar” yet.&lt;/p&gt;

&lt;p&gt;They search for “more colors for Google Calendar.”&lt;/p&gt;

&lt;p&gt;So the positioning became something like:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tint Calendar — More Colors for Google Calendar&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This combines the brand with the actual user problem.&lt;/p&gt;

&lt;p&gt;That was another important lesson: a product name can be nice, but the positioning must be obvious.&lt;/p&gt;

&lt;p&gt;Especially for a small extension.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. Small products still need support and maintenance
&lt;/h2&gt;

&lt;p&gt;Even if the extension is simple, it still needs maintenance.&lt;/p&gt;

&lt;p&gt;Google Calendar can change.&lt;br&gt;
Chrome extension policies can change.&lt;br&gt;
Users may report bugs.&lt;br&gt;
Screenshots may become outdated.&lt;br&gt;
Privacy declarations may need updates.&lt;br&gt;
SEO pages need improvement.&lt;/p&gt;

&lt;p&gt;A small product does not mean zero maintenance.&lt;/p&gt;

&lt;p&gt;It just means the maintenance surface is smaller.&lt;/p&gt;

&lt;h2&gt;
  
  
  11. What I would do differently next time
&lt;/h2&gt;

&lt;p&gt;If I were starting again, I would do a few things earlier:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;write the landing page before publishing,&lt;/li&gt;
&lt;li&gt;prepare SEO articles earlier,&lt;/li&gt;
&lt;li&gt;create better screenshots from the beginning,&lt;/li&gt;
&lt;li&gt;think about Chrome Web Store keywords sooner,&lt;/li&gt;
&lt;li&gt;collect feedback before launch,&lt;/li&gt;
&lt;li&gt;make a small demo video earlier,&lt;/li&gt;
&lt;li&gt;prepare a list of directories and communities in advance.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The biggest change: I would not treat launch as the finish line.&lt;/p&gt;

&lt;p&gt;Launch is just the moment when the real work starts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;Building my first Chrome extension was a great learning experience.&lt;/p&gt;

&lt;p&gt;It looked like a small technical project, but it quickly became a lesson in product thinking, user trust, distribution, and positioning.&lt;/p&gt;

&lt;p&gt;Tint Calendar is still a small extension, but that is exactly what made it useful to build.&lt;/p&gt;

&lt;p&gt;Small products are great teachers.&lt;/p&gt;

&lt;p&gt;They force you to make decisions, ship something real, and face the uncomfortable question:&lt;/p&gt;

&lt;p&gt;“Okay, it works. Now how will people find it?”&lt;/p&gt;

&lt;p&gt;That question is where software development starts turning into product building.&lt;/p&gt;

&lt;p&gt;And honestly, that is where it gets interesting.&lt;/p&gt;

&lt;p&gt;I also wrote a full user guide here: &lt;a href="https://ant0kr.github.io/tintcalendar/how-to-change-colors-on-google-calendar/index.html" rel="noopener noreferrer"&gt;link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And the extension is here: &lt;a href="https://chromewebstore.google.com/detail/colors-for-google-calenda/kfcjjghcmejaddhighjfjifkofknbfie" rel="noopener noreferrer"&gt;link&lt;/a&gt;&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>chromeextension</category>
      <category>sideprojects</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
