MicrosoftEdge-Extensions
MicrosoftEdge-Extensions copied to clipboard
Background permission and error in windows.create()
I am using the "background" permission in the MV3 extension. When the browser is closed, the windows.create() method is called in the tabs.onRemoved event. This works great in Chrome. But an error appears in Edge: "window creation is restricted in standalone sidebar mode".
I tried disabling the policies: StandaloneHubsSidebarEnabled, HubsSidebarEnabled. It didn't help. I don't understand what the sidebar has to do with it. This mistake just shouldn't happen!
I think this is a browser error. Is there a solution to this problem?
This seems like a bug to me! We're also encountering it.
Thank you for reporting this. The concerned team is aware of the issue and are looking into it. We will let you know for any update as soon as possible.
Do you have any news on this bug? Thanks.
Hi All,
This has been fixed in Edge Canary and should be working. We will let you know once it is live and fixed in Edge Stable versions as well.
Hi,
I see that this is fixed in the stable version 119.0.2151.44.
@Bhuvana-Priya This is brilliant! Kudos to the MS Edge development team!
Hello, I'm currently on build 121.0.2277.112 (Official build) (32-bit), and it seems like this issue has been reintroduced. I'm attempting to use windows.create() to open a window when the browser is closed and I'm getting the error: "window creation is restricted in standalone sidebar mode". Has anyone else been having this issue again?
Hello, Everything is fine with us, it works (Edge 121.0.2277.112 x64).
Hi, thanks for the response,
Interesting - it's possible there's something else going on then.
Here's my Error output:
I'll keep investigating, thank you!
Hi, this is still an ongoing issue for us. I was just wondering - is that error ("window creation is restricted in standalone sidebar mode") still supposed to come up under certain conditions? Am I just not setting my manifest file up correctly, or something like that?
This issue still exists! My version is 122.0.2365.80.
We do not repeat the mistake. What are you doing to get this error?
I also noticed this error in Edge 124, but only a few times across thousands of users. So this issue probably happens only under some specific conditions. For example: maybe it only happens for extensions installed into Edge from the Chrome Web Store? Or only on admin controlled PCs? I'm not sure.
We do not repeat the mistake. What are you doing to get this error?
@GaurangTandon @aropb
It's this extension: https://microsoftedge.microsoft.com/addons/detail/saladict-popup-diction/idghocbbahafpfhjnfhpbfbmpegphmmp
When I set a shortcut key for one of its functions (opening a small window) and set the response scope to "global," everything works fine as long as Edge is not closed. However, when Edge is closed and I press the shortcut key, the system prompt appears.
Regardless of whether it's downloaded from the Chrome store or the Edge store.
傻逼玩意