How can I use Edge extension sidePanel API

mars 60 Reputation points
2023-07-25T16:09:02.0133333+00:00

I'm using sidePanel API to create an extension of edge.

the manifest.json:

{ 
	"manifest_version": 3,
	"side_panel": {
		"default_path": "sidebar.html"
	},
	"permissions": ["sidePanel","tabs","activeTab","cookies"],
	"action": {
		"default_title": "click to open sidebar"
	},
}

the extension installed successfully.

but when I click the extension icon in the toolbar. The side panel is not sliding out. and nothing happened.

I tried to call sidePanel API in the background console:

the promise error raised: API Unavailable

User's imageMy edge version: 115.0.1901.183

And also tried with chrome latest version.

how can I use the sidePanel API

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,350 questions
{count} votes

Accepted answer
  1. XuDong Peng-MSFT 10,741 Reputation points Microsoft Vendor
    2023-07-27T09:10:21.8433333+00:00

    Hi @mars,

    As mentioned in the first sentence of the documentation I gave above:

    This is a forthcoming feature; sidebar extensions are not yet in a stable release of Microsoft Edge.

    Therefor relevant APIs is not available in Edge at the moment. You can expect updates in subsequent versions. I also did some tests and I found that it is not yet available in canary version, I think it will still take some time. Thank you for your understanding.

    Best regards,

    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.