This post has been republished via RSS; it originally appeared at: Microsoft Edge Blog.
Microsoft Edge is constantly driven by the power of innovation, which opens amazing opportunities. Today, we are thrilled to announce that extension developers can build extensions for the Sidebar in Microsoft Edge, and bring users an enhanced side by side browsing experience that empowers them to achieve more. Let's dive into the details!
Supercharge your users’ productivity
We invite developers to harness the potential of Sidebar extensions and deliver improved experiences to their users. Read on to evaluate how your extensions can benefit from this new feature. We understand that every user has unique requirements, which is why we have developed three additional functionalities to provide a tailored experience:- Default sidebar on every site: Set a default sidebar to display consistent content or extensions across all opened tabs. Default values persist across sessions, ensuring a seamless experience. Find the sample code available here.
- Sidebar enablement on specific sites: Make your extension to open in the sidebar on a specific site using sidepanel.setOptions(). Customize the experience for your users based on their preferred websites.
- Switching to a different sidebar: Welcome your users with a dedicated sidebar using runtime.onInstalled(). Seamlessly transition to the main side panel when they navigate to a different tab. It's all about providing a personalized touch.
Enabling your extension as a sidebar extension
Enabling your extension for the Sidebar is easy. Add the "sidePanel" permission in your manifest file and set the "default_path" to "sidepanel.html" using the provided code snippet below:{ ... "side_panel": { "default_path": "sidepanel.html" }, "permissions": [ "sidePanel" ] ... }Note that your sidebar page offers the same level of flexibility as other extension pages. You can load scripts, call APIs from your sidebar page and unleash the full potential of your creativity. Furthermore, users will continue to find and install your extension through Microsoft Edge Addons.