Read the statement by Michael Teeuw here.
New windows, NOT full size
-
@mortenbirkelund why not use an iframe? That way you could still have a lot of the other modules visible as well and you could put a timer on it so if you don’t close it it closes itself.
-
@mortenbirkelund There are options of Electron when you did run
npm start
Check out the item for electronOptions
https://github.com/MichMich/MagicMirror/tree/develop#configuration -
@broberg As far as I could see, Iframe was not and option, due to cross-origin limitations…
-
@roramirez but isnt that only for the MagicMirror window? I still want the MagicMirror window to to be fullscreen. I would just like to be able of opening a window that is not full screen.
Or have i misunderstood the electronOptions? -
@roramirez said in New windows, NOT full size:
Electron
Could you please elaborate on ow i could use the Electron to open a browser window that is not full size, even though the magic Mirror browser is in full size?
-
Well, It’s something at now I dont know how figure out.
If main Electron MagicMIrrror app is starter in FullScreen Mode, without menu bar, etc… I think is not possible -maybe yes- create a new window with these attributes and not full screen.
Please can you check this
https://github.com/electron/electron/blob/master/docs/api/window-open.mdAlso, by a way is necessary set the Node Integration