firefox-devtools / extension-examples

DevTools extension examples
Mozilla Public License 2.0
27 stars 7 forks source link

DevTools Extension Examples

This repository is a collection of DevTools extension examples, demonstrating how to build add-ons for Firefox DevTools using the WebExtensions APIs.

Getting started

To install and run any of the add-ons in this repository, follow the instructions for temporary installation in Firefox.

This is the developer way of doing it, and is not the way users of your add-ons will use.

If you're new to the WebExtensions + DevTools world, we recommend you look at the add-ons in the following order. Each directory contains a README file with more information related to that add-on.

devtools-panel

Shows how to create a new panel in DevTools.

console

Demonstrates how to evaluate scripts in the inspected window (i.e. the content scope).

messaging

(Work in progress)

Demonstrates how to communicate among different scopes.

More resources