<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[New windows, NOT full size]]></title><description><![CDATA[<p dir="auto">Hi<br />
I am working on a MagicMirror with touch. Therefore I inserted the following code into the getDom function in the newsfeed module, in order to add a link to the news, so a new browser window will open and i can read the whole news in a browserwindow.</p>
<pre><code>			var url = this.newsItems[this.activeItem].url;
			wrapper.addEventListener("click", function () {				
				window.open(url,'popUpWindow','height=500,width=500');
            });
return wrapper;
</code></pre>
<p dir="auto">This works perfect when I run it in my browser (node serveronly), but when I run it normally (npm start), then the new browser window is full size, and therefore the top bare is missing, and the windows cannot be closed again. Is there anyway, to make sure that the new browser windows is not full size when it opens?</p>
]]></description><link>https://forum.magicmirror.builders/topic/1879/new-windows-not-full-size</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 03:29:11 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/1879.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 24 Feb 2017 15:50:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New windows, NOT full size on Sun, 26 Feb 2017 15:28:27 GMT]]></title><description><![CDATA[<p dir="auto">Well, It’s something at now I dont know how figure out.</p>
<p dir="auto">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.</p>
<p dir="auto">Please can you check this<br />
<a href="https://github.com/electron/electron/blob/master/docs/api/window-open.md" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/electron/electron/blob/master/docs/api/window-open.md</a></p>
<p dir="auto">Also, by a way is necessary set the Node Integration</p>
]]></description><link>https://forum.magicmirror.builders/post/15918</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/15918</guid><dc:creator><![CDATA[roramirez]]></dc:creator><pubDate>Sun, 26 Feb 2017 15:28:27 GMT</pubDate></item><item><title><![CDATA[Reply to New windows, NOT full size on Sat, 25 Feb 2017 08:39:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/roramirez" aria-label="Profile: roramirez">@<bdi>roramirez</bdi></a> said in <a href="/post/15708">New windows, NOT full size</a>:</p>
<blockquote>
<p dir="auto">Electron</p>
</blockquote>
<p dir="auto">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?</p>
]]></description><link>https://forum.magicmirror.builders/post/15814</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/15814</guid><dc:creator><![CDATA[mortenbirkelund]]></dc:creator><pubDate>Sat, 25 Feb 2017 08:39:53 GMT</pubDate></item><item><title><![CDATA[Reply to New windows, NOT full size on Fri, 24 Feb 2017 16:28:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/roramirez" aria-label="Profile: roramirez">@<bdi>roramirez</bdi></a> 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.<br />
Or have i misunderstood the electronOptions?</p>
]]></description><link>https://forum.magicmirror.builders/post/15710</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/15710</guid><dc:creator><![CDATA[mortenbirkelund]]></dc:creator><pubDate>Fri, 24 Feb 2017 16:28:55 GMT</pubDate></item><item><title><![CDATA[Reply to New windows, NOT full size on Fri, 24 Feb 2017 16:26:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/broberg" aria-label="Profile: broberg">@<bdi>broberg</bdi></a> As far as I could see, Iframe was not and option, due to cross-origin limitations…</p>
]]></description><link>https://forum.magicmirror.builders/post/15709</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/15709</guid><dc:creator><![CDATA[mortenbirkelund]]></dc:creator><pubDate>Fri, 24 Feb 2017 16:26:17 GMT</pubDate></item><item><title><![CDATA[Reply to New windows, NOT full size on Fri, 24 Feb 2017 16:24:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mortenbirkelund" aria-label="Profile: mortenbirkelund">@<bdi>mortenbirkelund</bdi></a> There are options of Electron when you did run</p>
<pre><code>npm start
</code></pre>
<p dir="auto">Check out the item for electronOptions<br />
<a href="https://github.com/MichMich/MagicMirror/tree/develop#configuration" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/tree/develop#configuration</a></p>
]]></description><link>https://forum.magicmirror.builders/post/15708</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/15708</guid><dc:creator><![CDATA[roramirez]]></dc:creator><pubDate>Fri, 24 Feb 2017 16:24:07 GMT</pubDate></item><item><title><![CDATA[Reply to New windows, NOT full size on Fri, 24 Feb 2017 16:16:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mortenbirkelund" aria-label="Profile: mortenbirkelund">@<bdi>mortenbirkelund</bdi></a> 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.</p>
]]></description><link>https://forum.magicmirror.builders/post/15706</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/15706</guid><dc:creator><![CDATA[broberg]]></dc:creator><pubDate>Fri, 24 Feb 2017 16:16:26 GMT</pubDate></item></channel></rss>