

The DevTools page cannot use most of the extensions APIs directly.

The DevTools page exists for the lifetime of the DevTools window. The DevTools pageĪn instance of the extension’s DevTools page is created each time a DevTools window opens. In addition, each DevTools extension has a DevTools page, which has access to the DevTools APIs. DevTools extensions have access to an additional set of DevTools-specific extension APIs:Ī DevTools extension is structured like any other extension: it can have a background page, content scripts, and other items. It can add new UI panels and sidebars, interact with the inspected page, get information about network requests, and more. Detecting When DevTools Opens and ClosesĪ DevTools extension adds functionality to the Web Inspector included with Opera.Messaging from Content Scripts to the DevTools Page.

