Hi everyone,
I am looking to implement a two-panel architecture in my ExeOutput application (Main Window + a persistent Side Panel). My goal is to replicate the core behavior of side panels found in modern browser extensions (both Manifest V2 background scripts and Manifest V3 sidePanel API design).
The key technical requirements for this architecture are:
Could anyone guide me on the best way to achieve this using HEScript and window management in ExeOutput? Specifically:
Thanks in advance for your help!
I am looking to implement a two-panel architecture in my ExeOutput application (Main Window + a persistent Side Panel). My goal is to replicate the core behavior of side panels found in modern browser extensions (both Manifest V2 background scripts and Manifest V3 sidePanel API design).
The key technical requirements for this architecture are:
- Context/Process Isolation: The side panel must run in its own independent context. It should never reload or lose its state when the user navigates through different pages, clicks links, or refreshes the content in the Main Window.
- Bi-directional Communication: There needs to be a seamless JavaScript-to-JavaScript communication bridge between both windows. The side panel must always "know" the current URL or DOM state of the main window and be able to interact with it.
Could anyone guide me on the best way to achieve this using HEScript and window management in ExeOutput? Specifically:
- How should I properly configure a secondary window (Secondary Window or embedded panel) so it remains docked to the right side of the main window as a persistent Child Window?
- What is the most efficient way to pass messages from the Main Window's JavaScript (e.g., catching URL changes via window.onload) into HEScript (like UserMain), and then routing those messages via ExecuteHTMLScript into the side panel browser instance without triggering CORS or same-origin blockages?
Thanks in advance for your help!