CentBrowser Forum

Full Version: Single Window
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
This needs some coding.
There is no native solution to do this.
Thanks for the quick answer.
Do you think it's worth to implement in a future release?
(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.
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.
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.
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.
(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.
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.