Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

New in Opera: Sidebar extensions

  • New in Opera: Sidebar extensions
    https://dev.opera.com/blog/sidebar-extensions/

    alt text

    With Opera 30, we finally have support for sidebar extensions in the stable build! In other types of extensions, say, ones with popups, the popup window gets closed quickly, it’s cumbersome to open and close it all the time in case you use it often.

    There are certain types of extensions where you might want it open all the time (or at least, a lot of the time), and we’ve added support for it in the form of sidebar extensions. The sidebar is a place on the left side of the browser which has room for additional functionality for the user. The sidebar consists of the icons list on the left hand side of the sidebar and the clicking on an icon from the icons list will open its corresponding panel.

    The panel is an HTML page specified inside the extension which will house the main content of the extension. Every sidebar action must have a panel page specified. You don’t need to define any special permission in the manifest to make a sidebar extension, though you do have to define details regarding it in the manifest (just like you do with browser actions). In fact, for sidebar extensions, we call them sidebar actions.

    Also note that it is possible to have extensions which have a button on the toolbar, as well as a sidebar. So you can have your existing extension, which uses, say, a popup and add support for it in the sidebar as well.

    For more information, read our tutorial on how to build sidebar extessions and check out the sidebar extension API.