Browser extension options page implementation

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1212
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    852
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    815

Implementation of Options Page (Settings Page) for Browser Extension

Options Page is a separate extension page for managing settings. Unlike Popup, it doesn't auto-close and has full-screen space. Opens via chrome.runtime.openOptionsPage() or from browser's extension menu.

Two display modes

Full-screen page (options_page) — opens in separate browser tab. More space, familiar interface.

Browser embedded (options_ui) — opens directly in chrome://extensions/ at the bottom of extension card. Only in Chrome/Edge.

{
  "manifest_version": 3,
  "options_page": "options/options.html",

  // OR (mutually exclusive):
  "options_ui": {
    "page": "options/options.html",
    "open_in_tab": false
  }
}

open_in_tab: false — show in chrome://extensions/. open_in_tab: true — open in new tab (like options_page).

React settings app structure

// options/App.tsx
import { useEffect, useState } from 'react';
import browser from 'webextension-polyfill';

interface Settings {
  enabled: boolean;
  theme: 'light' | 'dark' | 'system';
  highlightColor: string;
  blockedDomains: string[];
}

const defaultSettings: Settings = {
  enabled: true,
  theme: 'system',
  highlightColor: '#fbbf24',
  blockedDomains: [],
};

export function OptionsApp() {
  const [settings, setSettings] = useState<Settings>(defaultSettings);
  const [saved, setSaved] = useState(false);

  useEffect(() => {
    browser.storage.sync.get('settings').then(({ settings: stored }) => {
      if (stored) setSettings({ ...defaultSettings, ...stored });
    });
  }, []);

  async function saveSettings(updated: Settings) {
    setSettings(updated);
    await browser.storage.sync.set({ settings: updated });
    setSaved(true);
    setTimeout(() => setSaved(false), 2000);
  }

  return (
    <div className="options">
      <h1>Extension Settings</h1>

      <section className="options__section">
        <h2>General</h2>
        <label>
          <input
            type="checkbox"
            checked={settings.enabled}
            onChange={e => saveSettings({ ...settings, enabled: e.target.checked })}
          />
          Extension active
        </label>
      </section>

      <section className="options__section">
        <h2>Appearance</h2>
        <label>
          <span>Theme</span>
          <select
            value={settings.theme}
            onChange={e => saveSettings({ ...settings, theme: e.target.value as Settings['theme'] })}
          >
            <option value="system">System</option>
            <option value="light">Light</option>
            <option value="dark">Dark</option>
          </select>
        </label>
      </section>

      {saved && <div className="options__saved">Settings saved</div>}
    </div>
  );
}

Best practices

  • Use chrome.storage.sync for user settings (cross-device sync via Google account)
  • Validate inputs server-side if possible
  • Show instant feedback when settings save
  • Organize into logical sections
  • Support keyboard navigation

Timeline

Simple options page: 2–3 days. Advanced with sync, import/export, themes: 5–7 days.