Skip to content

Browser Extension

Ed Mozley edited this page May 13, 2026 · 2 revisions

Browser Extension

A Chrome/Edge browser extension that shows your Watchtower dashboard summary in a popup with a badge count for items needing attention.

The extension is checked into the main repo under browser-extension/ and is built as a Manifest V3 extension.

Setup

  1. Generate an API key Go to Software β†’ Settings β†’ API Keys, enter a label (e.g. "Chrome extension"), and click Generate. Copy the key β€” it's only shown once.

  2. Install the extension

    • Open chrome://extensions (or edge://extensions)
    • Enable Developer mode
    • Click Load unpacked
    • Select the browser-extension/ folder from your local clone of the repo
  3. Configure Click the extension icon, then Settings. Enter:

    • Your FreeITSM server URL (e.g. https://itsm.example.com)
    • The API key from step 1

    Click Test to verify connectivity, then Save.

Features

  • Badge count β€” number of items needing attention (urgent tickets, unapproved changes, active incidents, etc.) displayed on the extension icon
  • Popup dashboard β€” compact 8-module summary matching the full Watchtower view
  • Configurable polling β€” refresh every 1 to 30 minutes
  • Rate-limited API β€” 60 requests per minute per key (configurable in System Settings)
  • Works in Chrome and Edge (Manifest V3)

Files

browser-extension/
β”œβ”€β”€ manifest.json
β”œβ”€β”€ background.js     # Service worker β€” polling + badge updates
β”œβ”€β”€ popup.html / .js / .css   # Extension popup UI
β”œβ”€β”€ options.html / .js        # Settings page
└── icons/            # Extension icons (16, 32, 48, 128px)

API

The extension uses the public endpoints under api/watchtower/ with bearer-token auth via the generated API key. The single Watchtower aggregation endpoint returns counts and flags across all modules in one round trip.

FreeITSM

Getting Started

Modules

Multi-tenancy (planned)

Blue sky thinking

Bugs resolved

Links

Clone this wiki locally