CentBrowser Forum
Single Window - Printable Version

+- CentBrowser Forum (https://www.centbrowser.net/en)
+-- Forum: Members Area (https://www.centbrowser.net/en/forumdisplay.php?fid=3)
+--- Forum: General Discuss (https://www.centbrowser.net/en/forumdisplay.php?fid=5)
+--- Thread: Single Window (/showthread.php?tid=2080)



Single Window - Mugen - 04-20-2018

Hi,

Every time I execute CentBrowser it opens a new window, even if there is already 1 open.
Is there  a way to only allow 1 window and open always a new tab?


RE: Single Window - Admini - 04-20-2018

This needs some coding.
There is no native solution to do this.


RE: Single Window - Mugen - 04-20-2018

Thanks for the quick answer.
Do you think it's worth to implement in a future release?


RE: Single Window - Admini - 04-21-2018

(04-20-2018, 05:40 PM)Mugen Wrote: Thanks for the quick answer.
Do you think it's worth to implement in a future release?

I think this feature is redundant, because user can control the number of browser instances on themselves.
If they don't want many windows, they can avoid clicking the shortcut many times.


RE: Single Window - jeffhere - 04-21-2018

I asked for this also as have others, so there must be some need. I also occasionally hit the icon in error...and then have to close the new browser window. I hate that but not a real biggie depending on what is happening with developers time...


Just FYI, Slimjet has that as an option really early on its development......per user requests, so there must be a need.


RE: Single Window - Mugen - 04-24-2018

I got it more or less working using the -d command line switch:

chrome.exe -d chrome-extension://llaficoajjainaijghjlofdfmbjpebpa/newtab.html#

will open FVD speedial in a new tab, but i guess the "llaficoajjainaijghjlofdfmbjpebpa" will change
on the next FVD extension update.


RE: Single Window - Mugen - 04-25-2018

Seems the -d open has nothing to do with it.
But why does this opens a new tab

chrome.exe chrome-extension://llaficoajjainaijghjlofdfmbjpebpa/newtab.html

and this a new window?

chrome.exe chrome://newtab/

Well, only problem with the first, it that the address line is neither focused nor empty.


RE: Single Window - Admini - 04-25-2018

(04-25-2018, 10:57 AM)Mugen Wrote: Seems the -d open has nothing to do with it.
But why does this opens a new tab

chrome.exe chrome-extension://llaficoajjainaijghjlofdfmbjpebpa/newtab.html

and this a new window?

chrome.exe chrome://newtab/

Well, only problem with the first, it that the address line is neither focused nor empty.

Seems this is controlled internally by Chromium.
We will consider adding a command line to support this feature.


RE: Single Window - wilf21 - 04-29-2018

I notice that Firefox and Chrome both do the same thing - i.e. open up a new window on execution, when a window is already open. I've personally never seen it as a problem.