mdn/webextensions-examples

Example Firefox add-ons created using the WebExtensions API

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 24 minutes ago
Type:Template / ExampleCategory(s):Browsers & ExtensionsWeb Development
Added to GitGenius on September 15th, 2026
Created on August 14th, 2015
Open Issues & Pull Requests: 32 (+0)
GitHub issues: Enabled
Number of forks: 2,621
Total Stargazers: 4,475 (+0)
Total Subscribers: 157 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 9.2 hours
Mean response time: 122.5 days
90th percentile: 946.2 days
Tracked items: 17

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 7
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 976 days
Stale 30+ days: 7
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • example (7)
  • idle (6)
  • p2 (3)
  • needs info (2)
  • needs triage (2)
  • on hold (2)
  • bug (1)
  • effort: large (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

webextensions-examples is a collection of example Firefox add-ons that demonstrate the WebExtensions API.

The repository addresses the need for practical, working examples when learning to build browser extensions. WebExtensions are programs installed in a browser that modify browser behavior or web page functionality. The examples show how to use the WebExtensions APIs in complete, installable form, allowing developers to understand API usage patterns and use them as starting points for their own extensions. Each example is self-contained in a top-level folder with its own README explaining its functionality.

Developers new to WebExtensions should choose this collection to learn API patterns through concrete examples rather than documentation alone. The examples work with Firefox and, in most cases, are compatible with Chrome, Opera, and Edge due to the cross-browser nature of the WebExtensions API. Some examples target specific domains or pages, and a few require pre-release Firefox versions for newer APIs, with minimum version requirements declared in each extension's manifest. Installation is straightforward using either Firefox's about:debugging page or the web-ext command-line tool, which also provides automatic reloading during development.

The project is maintained by Mozilla's Add-ons team. The repository includes automated testing via continuous integration. Examples are organized as independent, installable extensions that developers can run immediately in Firefox without modification.