The BrowserWindow module is the foundation of your Electron application, and it exposes many APIs that can change the look and behavior of your browser windows. In this tutorial, we will be going over the various use-cases for window customization on macOS, Windows, and Linux.
#I need to open another window in target blank without the frame
1 messages · Page 1 of 1 (latest)
Don't do it this way
Catch the click and open a new window manually from the main process
That way you can control what that window looks like
use IPC to send it to main from your renderer
*send the url
same thing
How you modify your first window
Same thing
This window
I assume you modify the toolbar
so you do the same thing for the right side
you have to open a new window
that okay. you can catch the event of opening a new window
and then modify the request at that point
This is how I catch link opening: https://github.com/fairdataihub/FAIRshare/blob/main/src/background.js#L241-L267
also read up on IPC on electron docs to see how to communicate between both proccesses
add that snippet in your main.js file
yeah
Look at where I have placed mine to see where to place it in yours
i'm not sure how that works
i'm not familiar with that setup but you seem to know how it works so thats fine
you just want no frame right?
transparent only possible if website is transparent
share your code in a repo