--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/73238b93-0817-498a-8521-b0972e0b72ean%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/95667b23-4aed-4f38-811a-55d8bf839028n%40chromium.org.
|| 1. The sidebar can also be used with manifest V2 in Firefox and Opera.
I also noted that, and there is here already a misalignment in the W3 extension view. Different code and no harmony in the extension development. When I create the sample on my GitHub, I must create just 4 separate folders for each web browser. It should be one.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/138b1180-38b2-4c69-800b-40954eb20bc2n%40chromium.org.
Above code work. but when I remove the setPanelBehavior() line of code and click the reload button in chrome://extensions/ , Chrome still opens the side panel by clicking the extension icon (a chrome bug?). If I remove the unpacked extension entirely and re-add it, I see it can't open sidepanel now (back to default behavior). If you don't want to remove the unpacked extension entirely, you need to explicitly set `openPanelOnActionClick` to false and click the reload button.
In my test, "openPanelOnActionClick" Â doesn't work in manifest.Â
I also noted that, and there is here already a misalignment in the W3 extension view. Different code and no harmony in the extension development. When I create the sample on my GitHub, I must create just 4 separate folders for each web browser. It should be one.
Colleagues, we started experimenting with the Sidepanel API, and so far, one of the main difficulties is determining when our app is hidden (closes) in the side panel.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/e3663b32-47e6-40b1-95f8-22338fe9c8d9n%40chromium.org.
one of the main difficulties is determining when our app is hidden (closes) in the side panel.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/e4a34bda-fb5a-4afc-b01c-8eeb75740bb8n%40chromium.org.
We thought about using a connection and an onDisconnect event. But, firstly, from our past negative experiences, I do not trust this method. Second, it doesn't fit because the user can switch the app in Chrome's sidebar, in which case the connection won't be closed.
@Oliver, I will be glad if you deliver the thoughts from this thread to the decision-makers.
Also, I would like to talk about one more improvement to the Sidepanel API here. It seems that for many developers and users, it would be convenient if the extension could explicitly pass parameters such as min / max-width to the panel creation parameters.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/14973d74-a5af-48ae-b0d7-86e780451d66n%40chromium.org.
But we don't have other tools besides polling to instantly respond to their changes.