Unique Firefox Capabilities

Take advantage of features unique to Firefox to extend the Web even further.

Firefox is a great place to begin your browser extension development. To start, you get the highest compliance with the proposed browser extension API including use of the browser.* namespace and promises for handling asynchronous events. Then, there is a highly supportive community of extension developers, ready to assist you.

Firefox also offers some unique features that you can use to build more secure, easy to use, and more visually appealing extensions. Just take a look at what’s available:

Help users separate their browser activities with Contextual Identities a.k.a. Containers. Give groups of tabs their own local browser storage: cookie store and local data in localStorage and indexedDB. This keeps details such as site preferences, signed in sessions, and ad tracking data private to the tabs.

Containers-screenshot

Record and display additional or complementary information about a web page with the Sidebar UI component, a panel that sits alongside web pages.

Sidebar-screenshot

Better integrate your extension with the browser using the ability to pick up the browser style in page and browser actions as well as the sidebar UI. Define, in the manifest.json file, the URLs where a page action is shown or hidden, and choose where to place the browser action icon.

Sidebar-screenshot

Add an extra dimension to your themes by updating the browser theme at runtime. With this feature you can alternate themes by time of day, apply a different theme when users browse your website, reflect user actions in your extension, and more.

Dynamic-theme-screenshot

Take advantage of external services to handle protocols or content types by registering protocol handlers in the manifest.json.

Protocol-handlers--screenshot