iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🎥

I Created a Chrome Extension 'Jump to Meet' to Find Lost Google Meet Tabs

に公開

Introduction

In the era where remote work has become the norm, attending multiple Google Meet sessions a day is not uncommon.

Between meetings, you check Slack, edit documents, write code... and before you know it, you have a massive number of tabs open in your browser. Have you ever found yourself frantically searching, "Where did the tab for that meeting go?"

To resolve this small frustration, I created a Chrome extension called Jump to Meet.

What is Jump to Meet?

Jump to Meet

This is a Chrome extension that allows you to list all currently open Google Meet tabs and jump to the desired tab with a single click, just by clicking the icon in the toolbar.

It is now available on the Chrome Web Store.

https://chromewebstore.google.com/detail/jump-to-meet/bfdgnlhljohgjajahdaaoamdplpoamip?authuser=0&hl=ja

Key Features

  • Automatic Meet Tab Detection - Automatically detects all open Google Meet tabs.
  • One-Click Navigation - Instantly switch to a Meet tab by clicking it from the list.
  • Multi-Window Support - Works even with Meet tabs open in separate windows.
  • Live Indicator - Visually displays active meetings with a red pulse animation.
  • Close Tabs - You can also close Meet tabs directly from the popup.

Tech Stack

I intentionally kept it simple, using no build tools or frameworks at all.

Technology Selection Reason
Vanilla JavaScript Frameworks are unnecessary for a popup-sized application
HTML / CSS Simple UI structure
Chrome Extensions API (Manifest V3) Compliant with the latest extension specifications
Google Sans Font Uniformity with Google products

The file structure is also minimal.

jump-to-meet/
├── manifest.json    # Extension manifest
├── popup.html       # Popup UI
├── popup.js         # Main logic
├── popup.css        # Stylesheet
└── icons/           # Icons

Implementation Details

1. Manifest V3 Configuration

In Manifest V3, permissions and host_permissions are separated. This extension declares tab management permissions and access permissions for the Google Meet domain.

{
  "manifest_version": 3,
  "name": "Jump to Meet",
  "version": "1.0.1",
  "permissions": ["tabs"],
  "host_permissions": ["*://meet.google.com/*"],
  "action": {
    "default_popup": "popup.html"
  }
}

I use the tabs permission to retrieve and manage tabs, and limit access only to Meet URLs using host_permissions. By narrowing down to the minimum necessary permissions, I protect user privacy.

2. Meet Tab Detection Logic

chrome.tabs.query() is sufficient to find Google Meet tabs, but I added a tweak to extract only the tabs that are actually participating in a meeting.

// Search for Google Meet tabs
const meetTabs = await chrome.tabs.query({
  url: '*://meet.google.com/*'
});

// Filter tabs only in a meeting (containing a meeting code in the URL)
const activeMeetTabs = meetTabs.filter(tab => {
  const url = new URL(tab.url);
  return /^\/[a-z]{3}-[a-z]{4}-[a-z]{3}/.test(url.pathname);
});

Google Meet meeting URLs have meeting codes consisting of lowercase letters in a "3-4-3" format, such as https://meet.google.com/abc-defg-hij. By filtering with this regular expression, I exclude non-meeting tabs like the Meet home page (/) or the new meeting page (/new).

3. Implementing Tab Navigation

Not only do I activate the tab, but I also switch window focus to support Meet tabs in separate windows.

async function jumpToTab(tab) {
  // Activate the tab
  await chrome.tabs.update(tab.id, { active: true });

  // Focus the window of the tab
  await chrome.windows.update(tab.windowId, { focused: true });

  // Close the popup
  window.close();
}

Even if you have Meet open in a separate window on a dual-monitor setup, chrome.windows.update() can bring that window to the front.

4. Tab Closing Function

I enabled closing tabs directly from the popup. I implemented the logic to include updating the UI after a tab is closed.

async function closeTab(tab, itemElement) {
  await chrome.tabs.remove(tab.id);

  // Delete element with animation
  itemElement.style.transition = 'opacity 0.2s ease, transform 0.2s ease';
  itemElement.style.opacity = '0';
  itemElement.style.transform = 'translateX(20px)';

  setTimeout(() => {
    itemElement.remove();
    // Update status based on the remaining item count
    // ...
  }, 200);
}

By adding a fade-out and slide animation, I provide visual feedback that the tab has been closed.

5. XSS Protection

Since tab titles are user-controlled content, I perform HTML escaping before inserting them directly into innerHTML.

function escapeHtml(text) {
  const div = document.createElement('div');
  div.textContent = text;
  return div.innerHTML;
}

XSS can occur even in Chrome extensions, so you should always sanitize data derived from the user before displaying it.

UI Design

I created a Material Design-inspired UI that matches Google Meet's design language.

Color Palette

I utilized Google Meet's brand colors.

Purpose Color
Meet Green #00AC47
Meet Blue #2684FC
Meet Red #EA4335
Primary #1A73E8

Animations

I paid attention to the finer details of the animations.

  • Logo Shimmer Effect - An effect where light flows over a gradient.
  • Live Indicator - A red dot pulses to intuitively represent "Active".
  • Hover Effect - List items float up, and a gradient bar appears on the left edge.
  • Slide-in Arrow Icon - An arrow slides in from the right edge on hover.

These small stacked animations improve the usability of the extension.

State-based Display

State Display Content
Loading Spinner animation
No Meet "No Meet found" + guide message
Single Meet Highlighted with a gradient background
Multiple Meets List display

Installation

Install from Chrome Web Store

You can install it with a single click from the following link.

https://chromewebstore.google.com/detail/jump-to-meet/bfdgnlhljohgjajahdaaoamdplpoamip?authuser=0&hl=ja

After installation, it is convenient to pin the icon in your toolbar.

Conclusion

I created this extension to solve the small pain point of "searching for Meet tabs," and it is surprisingly useful in practice. Especially on days when I have 3-4 meetings, the hassle of hunting for tabs has completely disappeared.

Technically, it is a simple composition using only Vanilla JS and Manifest V3, making it a great topic for getting started with Chrome extension development.

Future Plans

  • Keyboard shortcut support (Ctrl+Shift+M to jump to Meet)
  • Display the number of Meetings in the icon badge
  • Dark mode support

Please give it a try. I welcome your feedback.

https://chromewebstore.google.com/detail/jump-to-meet/bfdgnlhljohgjajahdaaoamdplpoamip?authuser=0&hl=ja

Discussion