Force Chrome to open new pages in new window, not tab? (when opened from a program)
Whenever I click a link from something like outlook or a program opens a web page (not when I click a link from within chrome). It opens up in Chrome since it is my default browser but if I already have a page open it will open in a new tab on that same window. I can't tell you how many times I forget about this and close the window out, accidentally losing the other tab too. Ofcourse, I can open a new chrome window and find it under recently closed tabs but I would really just prefer if they opened in their own window so I can prevent this.
google-chrome browser
add a comment |
Whenever I click a link from something like outlook or a program opens a web page (not when I click a link from within chrome). It opens up in Chrome since it is my default browser but if I already have a page open it will open in a new tab on that same window. I can't tell you how many times I forget about this and close the window out, accidentally losing the other tab too. Ofcourse, I can open a new chrome window and find it under recently closed tabs but I would really just prefer if they opened in their own window so I can prevent this.
google-chrome browser
add a comment |
Whenever I click a link from something like outlook or a program opens a web page (not when I click a link from within chrome). It opens up in Chrome since it is my default browser but if I already have a page open it will open in a new tab on that same window. I can't tell you how many times I forget about this and close the window out, accidentally losing the other tab too. Ofcourse, I can open a new chrome window and find it under recently closed tabs but I would really just prefer if they opened in their own window so I can prevent this.
google-chrome browser
Whenever I click a link from something like outlook or a program opens a web page (not when I click a link from within chrome). It opens up in Chrome since it is my default browser but if I already have a page open it will open in a new tab on that same window. I can't tell you how many times I forget about this and close the window out, accidentally losing the other tab too. Ofcourse, I can open a new chrome window and find it under recently closed tabs but I would really just prefer if they opened in their own window so I can prevent this.
google-chrome browser
google-chrome browser
edited Jul 22 '10 at 13:53
asked Jul 22 '10 at 13:32
JD Isaacks
3,38493241
3,38493241
add a comment |
add a comment |
8 Answers
8
active
oldest
votes
Problem
For Linux, if you have multiple VNC servers, this same problem will occur.
That is,
$ google-chrome
Created new window in existing browser session
And no google chrome window will appear in the current X VNC session (a new tab will appear in the X session with the first instance of google-chrome).
Solution
A simple workaround is to run
$ google-chrome "--user-data-dir=${HOME}/.google-chrome/session${DISPLAY}"
This sets a unique user directory based on the X VNC instance in use. The user directory will be created as needed. The new google-chrome
process will display within the current X VNC session.
Tested using Google Chrome version 22 on Ubuntu 12.04.
6
This is one of the most important bodies of text on the internet. I salute you.
– Jonathan Feinberg
Nov 22 '13 at 16:11
2
google-chrome --new-window
did it for me.
– Nikana Reklawyks
Jan 23 '17 at 3:06
add a comment |
There doesn't appear to be a user-friendly option to change this inside Chrome (presumably because most people prefer the new tab).
However, you can change this manually by editing the command specified in your Windows registry used to open an http url.
To do this, open regedit and:
- Go to
HKEY_CLASSES_ROOThttpshellopencommand
- You should see one key, named
(Default)
. Double click this to
get an editing popup. - At the end of the
Value data:
field you should
see the text-- "%1"
. Change this to--new-window "%1"
.
That will instruct Windows to open all http links in a new window of Chrome instead of a new tab.
Presumably, the same general idea is true for Mac and Linux, but I don't know offhand where they store the command to open urls.
When I double click default the pop has a field called Value Data it is empty. Should I just add --new-window or --new-window "%1" Also I am using Win7 if it matters.
– JD Isaacks
Jul 22 '10 at 14:39
I tested that on Windows XP, and that key is where the default browser command is stored. Not sure if Windows 7 is the same, or you just don't have a default browser selected. The whole value should look something like: "C:Documents and SettingsyourusernameLocal SettingsApplication DataGoogleChromeApplicationchrome.exe" --new-window "%1"
– Cerin
Jul 22 '10 at 16:42
1
Note, if you search the registry for any other keys containing "chrome.exe", and find one with a value containing " -- %1", then adding my change should work.
– Cerin
Jul 23 '10 at 13:42
2
Is there any good way to "prevent" Chrome from overriding these changes every update? (Which happens relatively frequently.)
– Qtax
Aug 15 '13 at 11:03
3
Note that in Windows 10, it's slightly different. This answer informs us that the default browser is pointed from here:HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsShellAssociationsURLAssociations(http|https)UserChoice
So for Chrome, it says:ProdId=ChromeHTML
From there you can find ChromeHTML here:HKEY_CLASSES_ROOTChromeHTML
Under that you can find the shell/open/command, so the full path is:HKEY_CLASSES_ROOTChromeHTMLshellopencommand
– Trinition
Feb 27 '18 at 12:53
|
show 4 more comments
Mike Hardy posted a solution for Mac OS X. I'm using it in 10.7 Lion and it works fine.
The solution involves a small AppleScript application:
on open location theURL
tell application "/Applications/Google Chrome.app"
make new window
activate
set URL of active tab of first window to theURL
end tell
end open location
Setting this application as your default browser will cause external program links to open in a new window in Chrome.
How / where am I supposed to save this AppleScript application in 10.9.5 Mavericks? I saved the above in [My User] / Library / Application Scripts as an "application", but it did not appear as a browser under Safari's default browser preference. Also, I downloaded the applescript bundle from Mike Hardy's solution, and unzipped it in the same folder. That added the script to the list of browsers, and I chose it, but when I then clicked on a link from an external application, the link did not open.
– Mike Eng
Mar 18 '15 at 21:06
add a comment |
You can use the "New Tab, New Window" extension for this. They way it works is moving the newly created tab quickly to a new window. So there is a bit of redrawing, but it does work pretty well (for me at least).
Note, as @John mentions below, this extension makes the default behavior for all new tabs (even ones created from inside Chrome).
4
this extension is not good... it always opens a new window, even when command-clicking from within chrome itself
– John Bachir
Mar 15 '13 at 6:42
I actually think that is a good thing (I hate tabs :), but I agree given the question I needed to make that clearer in my answer. I've updated it.
– studgeek
Apr 11 '13 at 20:40
add a comment |
In case any Linux users are wondering the same thing, I did this by copying /usr/share/applications/chromium.desktop
to ~/.local/share/applications
and then editing it as follows:
--- /usr/share/applications/chromium.desktop 2012-08-10 17:02:01.000000000 +0100
+++ /home/sam/.local/share/applications/chromium.desktop 2012-08-23 10:33:21.987359591 +0100
@@ -128,7 +128,7 @@
Comment[zh_CN]=访问互联网
Comment[zh_HK]=連線到網際網路
Comment[zh_TW]=連線到網際網路
-Exec=/usr/bin/chromium %U
+Exec=/usr/bin/chromium --new-window %U
Terminal=false
X-MultipleArgs=false
Type=Application
If you're using the Debian chromium
package, and you don't mind setting this as the default for all users on the system, you can instead edit /etc/chromium/default
and add --new-window
to the CHROMIUM_FLAGS
variable.
Thanks -- I was so tired of being switched to another desktop when I click on the Chrome launcher! I'll just add that you can simply edit the properties for the launcher icon to add in the--new-window
option, if you're just looking to change the behavior of the launcher icon. Why isn't the option is documented in the man page???
– AmigoNico
Jan 30 '14 at 14:48
add a comment |
Updated for Windows 7 pro x64 , following Cerin above -
Go to HKEY_CLASSES_ROOTChromeHTMLshellopencommand
You should see one key, named (Default).
Double click this to get an editing pop-up.
Change the key value from :
["C:Program Files (x86)GoogleChromeApplicationchrome.exe" -- "%1"]
to
["C:Program Files (x86)GoogleChromeApplicationchrome.exe" --new-window "%1"]
Just confirmed this works on Windows 10 in January 2017.
– Nelson
Jan 29 '17 at 16:06
add a comment |
the answer by Cerin above is the good one but there is an edit needed: the proposed key to change is not specific to Chrome and varies according to the logged-in user. this is the working solution:
- Go to
HKEY_CLASSES_ROOTChromeHTMLshellopencommand
- You should see one key, named (Default). Double click this to get an editing popup.
- Change the key value into
"C:Program FilesGoogleChromeApplicationchrome.exe" --new-window "%1"
.
Hi, thanks, this works great. However, either after restarting pc or updating chrome (not sure which) it is set back. Does not bother since I do not do any of those two much too often, but do you have a way to avoid this? The only thing that comes to my mind would create a registry file which would be run on startup.
– Ev0oD
Mar 30 '17 at 12:49
Hi, i am not a regular user of Chrome so I didn't do heavy testing on this solution. However there is a post in the Chrome product forum that suggests you need to change all registry occurencens of chrome to have the new-window switch. find out more there: productforums.google.com/forum/#!msg/chrome/V8blictbYuI/…
– Michael Bahig
Mar 31 '17 at 13:14
add a comment |
This command line option should work for you
chrome --new-window
This does not answer the "when clicking links in other programs" question per se, but it does answer my particular query, and is the accepted answer of a duplicate question.
– Nikana Reklawyks
Jan 23 '17 at 3:05
add a comment |
protected by Community♦ Dec 10 '15 at 4:34
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
8 Answers
8
active
oldest
votes
8 Answers
8
active
oldest
votes
active
oldest
votes
active
oldest
votes
Problem
For Linux, if you have multiple VNC servers, this same problem will occur.
That is,
$ google-chrome
Created new window in existing browser session
And no google chrome window will appear in the current X VNC session (a new tab will appear in the X session with the first instance of google-chrome).
Solution
A simple workaround is to run
$ google-chrome "--user-data-dir=${HOME}/.google-chrome/session${DISPLAY}"
This sets a unique user directory based on the X VNC instance in use. The user directory will be created as needed. The new google-chrome
process will display within the current X VNC session.
Tested using Google Chrome version 22 on Ubuntu 12.04.
6
This is one of the most important bodies of text on the internet. I salute you.
– Jonathan Feinberg
Nov 22 '13 at 16:11
2
google-chrome --new-window
did it for me.
– Nikana Reklawyks
Jan 23 '17 at 3:06
add a comment |
Problem
For Linux, if you have multiple VNC servers, this same problem will occur.
That is,
$ google-chrome
Created new window in existing browser session
And no google chrome window will appear in the current X VNC session (a new tab will appear in the X session with the first instance of google-chrome).
Solution
A simple workaround is to run
$ google-chrome "--user-data-dir=${HOME}/.google-chrome/session${DISPLAY}"
This sets a unique user directory based on the X VNC instance in use. The user directory will be created as needed. The new google-chrome
process will display within the current X VNC session.
Tested using Google Chrome version 22 on Ubuntu 12.04.
6
This is one of the most important bodies of text on the internet. I salute you.
– Jonathan Feinberg
Nov 22 '13 at 16:11
2
google-chrome --new-window
did it for me.
– Nikana Reklawyks
Jan 23 '17 at 3:06
add a comment |
Problem
For Linux, if you have multiple VNC servers, this same problem will occur.
That is,
$ google-chrome
Created new window in existing browser session
And no google chrome window will appear in the current X VNC session (a new tab will appear in the X session with the first instance of google-chrome).
Solution
A simple workaround is to run
$ google-chrome "--user-data-dir=${HOME}/.google-chrome/session${DISPLAY}"
This sets a unique user directory based on the X VNC instance in use. The user directory will be created as needed. The new google-chrome
process will display within the current X VNC session.
Tested using Google Chrome version 22 on Ubuntu 12.04.
Problem
For Linux, if you have multiple VNC servers, this same problem will occur.
That is,
$ google-chrome
Created new window in existing browser session
And no google chrome window will appear in the current X VNC session (a new tab will appear in the X session with the first instance of google-chrome).
Solution
A simple workaround is to run
$ google-chrome "--user-data-dir=${HOME}/.google-chrome/session${DISPLAY}"
This sets a unique user directory based on the X VNC instance in use. The user directory will be created as needed. The new google-chrome
process will display within the current X VNC session.
Tested using Google Chrome version 22 on Ubuntu 12.04.
edited Dec 10 '18 at 22:04
answered Oct 22 '12 at 23:37
JamesThomasMoon1979
38727
38727
6
This is one of the most important bodies of text on the internet. I salute you.
– Jonathan Feinberg
Nov 22 '13 at 16:11
2
google-chrome --new-window
did it for me.
– Nikana Reklawyks
Jan 23 '17 at 3:06
add a comment |
6
This is one of the most important bodies of text on the internet. I salute you.
– Jonathan Feinberg
Nov 22 '13 at 16:11
2
google-chrome --new-window
did it for me.
– Nikana Reklawyks
Jan 23 '17 at 3:06
6
6
This is one of the most important bodies of text on the internet. I salute you.
– Jonathan Feinberg
Nov 22 '13 at 16:11
This is one of the most important bodies of text on the internet. I salute you.
– Jonathan Feinberg
Nov 22 '13 at 16:11
2
2
google-chrome --new-window
did it for me.– Nikana Reklawyks
Jan 23 '17 at 3:06
google-chrome --new-window
did it for me.– Nikana Reklawyks
Jan 23 '17 at 3:06
add a comment |
There doesn't appear to be a user-friendly option to change this inside Chrome (presumably because most people prefer the new tab).
However, you can change this manually by editing the command specified in your Windows registry used to open an http url.
To do this, open regedit and:
- Go to
HKEY_CLASSES_ROOThttpshellopencommand
- You should see one key, named
(Default)
. Double click this to
get an editing popup. - At the end of the
Value data:
field you should
see the text-- "%1"
. Change this to--new-window "%1"
.
That will instruct Windows to open all http links in a new window of Chrome instead of a new tab.
Presumably, the same general idea is true for Mac and Linux, but I don't know offhand where they store the command to open urls.
When I double click default the pop has a field called Value Data it is empty. Should I just add --new-window or --new-window "%1" Also I am using Win7 if it matters.
– JD Isaacks
Jul 22 '10 at 14:39
I tested that on Windows XP, and that key is where the default browser command is stored. Not sure if Windows 7 is the same, or you just don't have a default browser selected. The whole value should look something like: "C:Documents and SettingsyourusernameLocal SettingsApplication DataGoogleChromeApplicationchrome.exe" --new-window "%1"
– Cerin
Jul 22 '10 at 16:42
1
Note, if you search the registry for any other keys containing "chrome.exe", and find one with a value containing " -- %1", then adding my change should work.
– Cerin
Jul 23 '10 at 13:42
2
Is there any good way to "prevent" Chrome from overriding these changes every update? (Which happens relatively frequently.)
– Qtax
Aug 15 '13 at 11:03
3
Note that in Windows 10, it's slightly different. This answer informs us that the default browser is pointed from here:HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsShellAssociationsURLAssociations(http|https)UserChoice
So for Chrome, it says:ProdId=ChromeHTML
From there you can find ChromeHTML here:HKEY_CLASSES_ROOTChromeHTML
Under that you can find the shell/open/command, so the full path is:HKEY_CLASSES_ROOTChromeHTMLshellopencommand
– Trinition
Feb 27 '18 at 12:53
|
show 4 more comments
There doesn't appear to be a user-friendly option to change this inside Chrome (presumably because most people prefer the new tab).
However, you can change this manually by editing the command specified in your Windows registry used to open an http url.
To do this, open regedit and:
- Go to
HKEY_CLASSES_ROOThttpshellopencommand
- You should see one key, named
(Default)
. Double click this to
get an editing popup. - At the end of the
Value data:
field you should
see the text-- "%1"
. Change this to--new-window "%1"
.
That will instruct Windows to open all http links in a new window of Chrome instead of a new tab.
Presumably, the same general idea is true for Mac and Linux, but I don't know offhand where they store the command to open urls.
When I double click default the pop has a field called Value Data it is empty. Should I just add --new-window or --new-window "%1" Also I am using Win7 if it matters.
– JD Isaacks
Jul 22 '10 at 14:39
I tested that on Windows XP, and that key is where the default browser command is stored. Not sure if Windows 7 is the same, or you just don't have a default browser selected. The whole value should look something like: "C:Documents and SettingsyourusernameLocal SettingsApplication DataGoogleChromeApplicationchrome.exe" --new-window "%1"
– Cerin
Jul 22 '10 at 16:42
1
Note, if you search the registry for any other keys containing "chrome.exe", and find one with a value containing " -- %1", then adding my change should work.
– Cerin
Jul 23 '10 at 13:42
2
Is there any good way to "prevent" Chrome from overriding these changes every update? (Which happens relatively frequently.)
– Qtax
Aug 15 '13 at 11:03
3
Note that in Windows 10, it's slightly different. This answer informs us that the default browser is pointed from here:HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsShellAssociationsURLAssociations(http|https)UserChoice
So for Chrome, it says:ProdId=ChromeHTML
From there you can find ChromeHTML here:HKEY_CLASSES_ROOTChromeHTML
Under that you can find the shell/open/command, so the full path is:HKEY_CLASSES_ROOTChromeHTMLshellopencommand
– Trinition
Feb 27 '18 at 12:53
|
show 4 more comments
There doesn't appear to be a user-friendly option to change this inside Chrome (presumably because most people prefer the new tab).
However, you can change this manually by editing the command specified in your Windows registry used to open an http url.
To do this, open regedit and:
- Go to
HKEY_CLASSES_ROOThttpshellopencommand
- You should see one key, named
(Default)
. Double click this to
get an editing popup. - At the end of the
Value data:
field you should
see the text-- "%1"
. Change this to--new-window "%1"
.
That will instruct Windows to open all http links in a new window of Chrome instead of a new tab.
Presumably, the same general idea is true for Mac and Linux, but I don't know offhand where they store the command to open urls.
There doesn't appear to be a user-friendly option to change this inside Chrome (presumably because most people prefer the new tab).
However, you can change this manually by editing the command specified in your Windows registry used to open an http url.
To do this, open regedit and:
- Go to
HKEY_CLASSES_ROOThttpshellopencommand
- You should see one key, named
(Default)
. Double click this to
get an editing popup. - At the end of the
Value data:
field you should
see the text-- "%1"
. Change this to--new-window "%1"
.
That will instruct Windows to open all http links in a new window of Chrome instead of a new tab.
Presumably, the same general idea is true for Mac and Linux, but I don't know offhand where they store the command to open urls.
edited Apr 16 '12 at 4:02
Sathyajith Bhat♦
52.6k29154252
52.6k29154252
answered Jul 22 '10 at 14:07
Cerin
2,591123453
2,591123453
When I double click default the pop has a field called Value Data it is empty. Should I just add --new-window or --new-window "%1" Also I am using Win7 if it matters.
– JD Isaacks
Jul 22 '10 at 14:39
I tested that on Windows XP, and that key is where the default browser command is stored. Not sure if Windows 7 is the same, or you just don't have a default browser selected. The whole value should look something like: "C:Documents and SettingsyourusernameLocal SettingsApplication DataGoogleChromeApplicationchrome.exe" --new-window "%1"
– Cerin
Jul 22 '10 at 16:42
1
Note, if you search the registry for any other keys containing "chrome.exe", and find one with a value containing " -- %1", then adding my change should work.
– Cerin
Jul 23 '10 at 13:42
2
Is there any good way to "prevent" Chrome from overriding these changes every update? (Which happens relatively frequently.)
– Qtax
Aug 15 '13 at 11:03
3
Note that in Windows 10, it's slightly different. This answer informs us that the default browser is pointed from here:HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsShellAssociationsURLAssociations(http|https)UserChoice
So for Chrome, it says:ProdId=ChromeHTML
From there you can find ChromeHTML here:HKEY_CLASSES_ROOTChromeHTML
Under that you can find the shell/open/command, so the full path is:HKEY_CLASSES_ROOTChromeHTMLshellopencommand
– Trinition
Feb 27 '18 at 12:53
|
show 4 more comments
When I double click default the pop has a field called Value Data it is empty. Should I just add --new-window or --new-window "%1" Also I am using Win7 if it matters.
– JD Isaacks
Jul 22 '10 at 14:39
I tested that on Windows XP, and that key is where the default browser command is stored. Not sure if Windows 7 is the same, or you just don't have a default browser selected. The whole value should look something like: "C:Documents and SettingsyourusernameLocal SettingsApplication DataGoogleChromeApplicationchrome.exe" --new-window "%1"
– Cerin
Jul 22 '10 at 16:42
1
Note, if you search the registry for any other keys containing "chrome.exe", and find one with a value containing " -- %1", then adding my change should work.
– Cerin
Jul 23 '10 at 13:42
2
Is there any good way to "prevent" Chrome from overriding these changes every update? (Which happens relatively frequently.)
– Qtax
Aug 15 '13 at 11:03
3
Note that in Windows 10, it's slightly different. This answer informs us that the default browser is pointed from here:HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsShellAssociationsURLAssociations(http|https)UserChoice
So for Chrome, it says:ProdId=ChromeHTML
From there you can find ChromeHTML here:HKEY_CLASSES_ROOTChromeHTML
Under that you can find the shell/open/command, so the full path is:HKEY_CLASSES_ROOTChromeHTMLshellopencommand
– Trinition
Feb 27 '18 at 12:53
When I double click default the pop has a field called Value Data it is empty. Should I just add --new-window or --new-window "%1" Also I am using Win7 if it matters.
– JD Isaacks
Jul 22 '10 at 14:39
When I double click default the pop has a field called Value Data it is empty. Should I just add --new-window or --new-window "%1" Also I am using Win7 if it matters.
– JD Isaacks
Jul 22 '10 at 14:39
I tested that on Windows XP, and that key is where the default browser command is stored. Not sure if Windows 7 is the same, or you just don't have a default browser selected. The whole value should look something like: "C:Documents and SettingsyourusernameLocal SettingsApplication DataGoogleChromeApplicationchrome.exe" --new-window "%1"
– Cerin
Jul 22 '10 at 16:42
I tested that on Windows XP, and that key is where the default browser command is stored. Not sure if Windows 7 is the same, or you just don't have a default browser selected. The whole value should look something like: "C:Documents and SettingsyourusernameLocal SettingsApplication DataGoogleChromeApplicationchrome.exe" --new-window "%1"
– Cerin
Jul 22 '10 at 16:42
1
1
Note, if you search the registry for any other keys containing "chrome.exe", and find one with a value containing " -- %1", then adding my change should work.
– Cerin
Jul 23 '10 at 13:42
Note, if you search the registry for any other keys containing "chrome.exe", and find one with a value containing " -- %1", then adding my change should work.
– Cerin
Jul 23 '10 at 13:42
2
2
Is there any good way to "prevent" Chrome from overriding these changes every update? (Which happens relatively frequently.)
– Qtax
Aug 15 '13 at 11:03
Is there any good way to "prevent" Chrome from overriding these changes every update? (Which happens relatively frequently.)
– Qtax
Aug 15 '13 at 11:03
3
3
Note that in Windows 10, it's slightly different. This answer informs us that the default browser is pointed from here:
HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsShellAssociationsURLAssociations(http|https)UserChoice
So for Chrome, it says: ProdId=ChromeHTML
From there you can find ChromeHTML here: HKEY_CLASSES_ROOTChromeHTML
Under that you can find the shell/open/command, so the full path is: HKEY_CLASSES_ROOTChromeHTMLshellopencommand
– Trinition
Feb 27 '18 at 12:53
Note that in Windows 10, it's slightly different. This answer informs us that the default browser is pointed from here:
HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsShellAssociationsURLAssociations(http|https)UserChoice
So for Chrome, it says: ProdId=ChromeHTML
From there you can find ChromeHTML here: HKEY_CLASSES_ROOTChromeHTML
Under that you can find the shell/open/command, so the full path is: HKEY_CLASSES_ROOTChromeHTMLshellopencommand
– Trinition
Feb 27 '18 at 12:53
|
show 4 more comments
Mike Hardy posted a solution for Mac OS X. I'm using it in 10.7 Lion and it works fine.
The solution involves a small AppleScript application:
on open location theURL
tell application "/Applications/Google Chrome.app"
make new window
activate
set URL of active tab of first window to theURL
end tell
end open location
Setting this application as your default browser will cause external program links to open in a new window in Chrome.
How / where am I supposed to save this AppleScript application in 10.9.5 Mavericks? I saved the above in [My User] / Library / Application Scripts as an "application", but it did not appear as a browser under Safari's default browser preference. Also, I downloaded the applescript bundle from Mike Hardy's solution, and unzipped it in the same folder. That added the script to the list of browsers, and I chose it, but when I then clicked on a link from an external application, the link did not open.
– Mike Eng
Mar 18 '15 at 21:06
add a comment |
Mike Hardy posted a solution for Mac OS X. I'm using it in 10.7 Lion and it works fine.
The solution involves a small AppleScript application:
on open location theURL
tell application "/Applications/Google Chrome.app"
make new window
activate
set URL of active tab of first window to theURL
end tell
end open location
Setting this application as your default browser will cause external program links to open in a new window in Chrome.
How / where am I supposed to save this AppleScript application in 10.9.5 Mavericks? I saved the above in [My User] / Library / Application Scripts as an "application", but it did not appear as a browser under Safari's default browser preference. Also, I downloaded the applescript bundle from Mike Hardy's solution, and unzipped it in the same folder. That added the script to the list of browsers, and I chose it, but when I then clicked on a link from an external application, the link did not open.
– Mike Eng
Mar 18 '15 at 21:06
add a comment |
Mike Hardy posted a solution for Mac OS X. I'm using it in 10.7 Lion and it works fine.
The solution involves a small AppleScript application:
on open location theURL
tell application "/Applications/Google Chrome.app"
make new window
activate
set URL of active tab of first window to theURL
end tell
end open location
Setting this application as your default browser will cause external program links to open in a new window in Chrome.
Mike Hardy posted a solution for Mac OS X. I'm using it in 10.7 Lion and it works fine.
The solution involves a small AppleScript application:
on open location theURL
tell application "/Applications/Google Chrome.app"
make new window
activate
set URL of active tab of first window to theURL
end tell
end open location
Setting this application as your default browser will cause external program links to open in a new window in Chrome.
edited Aug 25 '13 at 9:15
answered Aug 24 '13 at 7:52
sffc
26249
26249
How / where am I supposed to save this AppleScript application in 10.9.5 Mavericks? I saved the above in [My User] / Library / Application Scripts as an "application", but it did not appear as a browser under Safari's default browser preference. Also, I downloaded the applescript bundle from Mike Hardy's solution, and unzipped it in the same folder. That added the script to the list of browsers, and I chose it, but when I then clicked on a link from an external application, the link did not open.
– Mike Eng
Mar 18 '15 at 21:06
add a comment |
How / where am I supposed to save this AppleScript application in 10.9.5 Mavericks? I saved the above in [My User] / Library / Application Scripts as an "application", but it did not appear as a browser under Safari's default browser preference. Also, I downloaded the applescript bundle from Mike Hardy's solution, and unzipped it in the same folder. That added the script to the list of browsers, and I chose it, but when I then clicked on a link from an external application, the link did not open.
– Mike Eng
Mar 18 '15 at 21:06
How / where am I supposed to save this AppleScript application in 10.9.5 Mavericks? I saved the above in [My User] / Library / Application Scripts as an "application", but it did not appear as a browser under Safari's default browser preference. Also, I downloaded the applescript bundle from Mike Hardy's solution, and unzipped it in the same folder. That added the script to the list of browsers, and I chose it, but when I then clicked on a link from an external application, the link did not open.
– Mike Eng
Mar 18 '15 at 21:06
How / where am I supposed to save this AppleScript application in 10.9.5 Mavericks? I saved the above in [My User] / Library / Application Scripts as an "application", but it did not appear as a browser under Safari's default browser preference. Also, I downloaded the applescript bundle from Mike Hardy's solution, and unzipped it in the same folder. That added the script to the list of browsers, and I chose it, but when I then clicked on a link from an external application, the link did not open.
– Mike Eng
Mar 18 '15 at 21:06
add a comment |
You can use the "New Tab, New Window" extension for this. They way it works is moving the newly created tab quickly to a new window. So there is a bit of redrawing, but it does work pretty well (for me at least).
Note, as @John mentions below, this extension makes the default behavior for all new tabs (even ones created from inside Chrome).
4
this extension is not good... it always opens a new window, even when command-clicking from within chrome itself
– John Bachir
Mar 15 '13 at 6:42
I actually think that is a good thing (I hate tabs :), but I agree given the question I needed to make that clearer in my answer. I've updated it.
– studgeek
Apr 11 '13 at 20:40
add a comment |
You can use the "New Tab, New Window" extension for this. They way it works is moving the newly created tab quickly to a new window. So there is a bit of redrawing, but it does work pretty well (for me at least).
Note, as @John mentions below, this extension makes the default behavior for all new tabs (even ones created from inside Chrome).
4
this extension is not good... it always opens a new window, even when command-clicking from within chrome itself
– John Bachir
Mar 15 '13 at 6:42
I actually think that is a good thing (I hate tabs :), but I agree given the question I needed to make that clearer in my answer. I've updated it.
– studgeek
Apr 11 '13 at 20:40
add a comment |
You can use the "New Tab, New Window" extension for this. They way it works is moving the newly created tab quickly to a new window. So there is a bit of redrawing, but it does work pretty well (for me at least).
Note, as @John mentions below, this extension makes the default behavior for all new tabs (even ones created from inside Chrome).
You can use the "New Tab, New Window" extension for this. They way it works is moving the newly created tab quickly to a new window. So there is a bit of redrawing, but it does work pretty well (for me at least).
Note, as @John mentions below, this extension makes the default behavior for all new tabs (even ones created from inside Chrome).
edited Apr 11 '13 at 20:40
answered Jul 16 '12 at 16:30
studgeek
1,40511924
1,40511924
4
this extension is not good... it always opens a new window, even when command-clicking from within chrome itself
– John Bachir
Mar 15 '13 at 6:42
I actually think that is a good thing (I hate tabs :), but I agree given the question I needed to make that clearer in my answer. I've updated it.
– studgeek
Apr 11 '13 at 20:40
add a comment |
4
this extension is not good... it always opens a new window, even when command-clicking from within chrome itself
– John Bachir
Mar 15 '13 at 6:42
I actually think that is a good thing (I hate tabs :), but I agree given the question I needed to make that clearer in my answer. I've updated it.
– studgeek
Apr 11 '13 at 20:40
4
4
this extension is not good... it always opens a new window, even when command-clicking from within chrome itself
– John Bachir
Mar 15 '13 at 6:42
this extension is not good... it always opens a new window, even when command-clicking from within chrome itself
– John Bachir
Mar 15 '13 at 6:42
I actually think that is a good thing (I hate tabs :), but I agree given the question I needed to make that clearer in my answer. I've updated it.
– studgeek
Apr 11 '13 at 20:40
I actually think that is a good thing (I hate tabs :), but I agree given the question I needed to make that clearer in my answer. I've updated it.
– studgeek
Apr 11 '13 at 20:40
add a comment |
In case any Linux users are wondering the same thing, I did this by copying /usr/share/applications/chromium.desktop
to ~/.local/share/applications
and then editing it as follows:
--- /usr/share/applications/chromium.desktop 2012-08-10 17:02:01.000000000 +0100
+++ /home/sam/.local/share/applications/chromium.desktop 2012-08-23 10:33:21.987359591 +0100
@@ -128,7 +128,7 @@
Comment[zh_CN]=访问互联网
Comment[zh_HK]=連線到網際網路
Comment[zh_TW]=連線到網際網路
-Exec=/usr/bin/chromium %U
+Exec=/usr/bin/chromium --new-window %U
Terminal=false
X-MultipleArgs=false
Type=Application
If you're using the Debian chromium
package, and you don't mind setting this as the default for all users on the system, you can instead edit /etc/chromium/default
and add --new-window
to the CHROMIUM_FLAGS
variable.
Thanks -- I was so tired of being switched to another desktop when I click on the Chrome launcher! I'll just add that you can simply edit the properties for the launcher icon to add in the--new-window
option, if you're just looking to change the behavior of the launcher icon. Why isn't the option is documented in the man page???
– AmigoNico
Jan 30 '14 at 14:48
add a comment |
In case any Linux users are wondering the same thing, I did this by copying /usr/share/applications/chromium.desktop
to ~/.local/share/applications
and then editing it as follows:
--- /usr/share/applications/chromium.desktop 2012-08-10 17:02:01.000000000 +0100
+++ /home/sam/.local/share/applications/chromium.desktop 2012-08-23 10:33:21.987359591 +0100
@@ -128,7 +128,7 @@
Comment[zh_CN]=访问互联网
Comment[zh_HK]=連線到網際網路
Comment[zh_TW]=連線到網際網路
-Exec=/usr/bin/chromium %U
+Exec=/usr/bin/chromium --new-window %U
Terminal=false
X-MultipleArgs=false
Type=Application
If you're using the Debian chromium
package, and you don't mind setting this as the default for all users on the system, you can instead edit /etc/chromium/default
and add --new-window
to the CHROMIUM_FLAGS
variable.
Thanks -- I was so tired of being switched to another desktop when I click on the Chrome launcher! I'll just add that you can simply edit the properties for the launcher icon to add in the--new-window
option, if you're just looking to change the behavior of the launcher icon. Why isn't the option is documented in the man page???
– AmigoNico
Jan 30 '14 at 14:48
add a comment |
In case any Linux users are wondering the same thing, I did this by copying /usr/share/applications/chromium.desktop
to ~/.local/share/applications
and then editing it as follows:
--- /usr/share/applications/chromium.desktop 2012-08-10 17:02:01.000000000 +0100
+++ /home/sam/.local/share/applications/chromium.desktop 2012-08-23 10:33:21.987359591 +0100
@@ -128,7 +128,7 @@
Comment[zh_CN]=访问互联网
Comment[zh_HK]=連線到網際網路
Comment[zh_TW]=連線到網際網路
-Exec=/usr/bin/chromium %U
+Exec=/usr/bin/chromium --new-window %U
Terminal=false
X-MultipleArgs=false
Type=Application
If you're using the Debian chromium
package, and you don't mind setting this as the default for all users on the system, you can instead edit /etc/chromium/default
and add --new-window
to the CHROMIUM_FLAGS
variable.
In case any Linux users are wondering the same thing, I did this by copying /usr/share/applications/chromium.desktop
to ~/.local/share/applications
and then editing it as follows:
--- /usr/share/applications/chromium.desktop 2012-08-10 17:02:01.000000000 +0100
+++ /home/sam/.local/share/applications/chromium.desktop 2012-08-23 10:33:21.987359591 +0100
@@ -128,7 +128,7 @@
Comment[zh_CN]=访问互联网
Comment[zh_HK]=連線到網際網路
Comment[zh_TW]=連線到網際網路
-Exec=/usr/bin/chromium %U
+Exec=/usr/bin/chromium --new-window %U
Terminal=false
X-MultipleArgs=false
Type=Application
If you're using the Debian chromium
package, and you don't mind setting this as the default for all users on the system, you can instead edit /etc/chromium/default
and add --new-window
to the CHROMIUM_FLAGS
variable.
edited Aug 23 '12 at 10:05
answered Aug 23 '12 at 9:36
Sam Morris
54467
54467
Thanks -- I was so tired of being switched to another desktop when I click on the Chrome launcher! I'll just add that you can simply edit the properties for the launcher icon to add in the--new-window
option, if you're just looking to change the behavior of the launcher icon. Why isn't the option is documented in the man page???
– AmigoNico
Jan 30 '14 at 14:48
add a comment |
Thanks -- I was so tired of being switched to another desktop when I click on the Chrome launcher! I'll just add that you can simply edit the properties for the launcher icon to add in the--new-window
option, if you're just looking to change the behavior of the launcher icon. Why isn't the option is documented in the man page???
– AmigoNico
Jan 30 '14 at 14:48
Thanks -- I was so tired of being switched to another desktop when I click on the Chrome launcher! I'll just add that you can simply edit the properties for the launcher icon to add in the
--new-window
option, if you're just looking to change the behavior of the launcher icon. Why isn't the option is documented in the man page???– AmigoNico
Jan 30 '14 at 14:48
Thanks -- I was so tired of being switched to another desktop when I click on the Chrome launcher! I'll just add that you can simply edit the properties for the launcher icon to add in the
--new-window
option, if you're just looking to change the behavior of the launcher icon. Why isn't the option is documented in the man page???– AmigoNico
Jan 30 '14 at 14:48
add a comment |
Updated for Windows 7 pro x64 , following Cerin above -
Go to HKEY_CLASSES_ROOTChromeHTMLshellopencommand
You should see one key, named (Default).
Double click this to get an editing pop-up.
Change the key value from :
["C:Program Files (x86)GoogleChromeApplicationchrome.exe" -- "%1"]
to
["C:Program Files (x86)GoogleChromeApplicationchrome.exe" --new-window "%1"]
Just confirmed this works on Windows 10 in January 2017.
– Nelson
Jan 29 '17 at 16:06
add a comment |
Updated for Windows 7 pro x64 , following Cerin above -
Go to HKEY_CLASSES_ROOTChromeHTMLshellopencommand
You should see one key, named (Default).
Double click this to get an editing pop-up.
Change the key value from :
["C:Program Files (x86)GoogleChromeApplicationchrome.exe" -- "%1"]
to
["C:Program Files (x86)GoogleChromeApplicationchrome.exe" --new-window "%1"]
Just confirmed this works on Windows 10 in January 2017.
– Nelson
Jan 29 '17 at 16:06
add a comment |
Updated for Windows 7 pro x64 , following Cerin above -
Go to HKEY_CLASSES_ROOTChromeHTMLshellopencommand
You should see one key, named (Default).
Double click this to get an editing pop-up.
Change the key value from :
["C:Program Files (x86)GoogleChromeApplicationchrome.exe" -- "%1"]
to
["C:Program Files (x86)GoogleChromeApplicationchrome.exe" --new-window "%1"]
Updated for Windows 7 pro x64 , following Cerin above -
Go to HKEY_CLASSES_ROOTChromeHTMLshellopencommand
You should see one key, named (Default).
Double click this to get an editing pop-up.
Change the key value from :
["C:Program Files (x86)GoogleChromeApplicationchrome.exe" -- "%1"]
to
["C:Program Files (x86)GoogleChromeApplicationchrome.exe" --new-window "%1"]
edited May 20 '15 at 6:05
Kunal
1,58551726
1,58551726
answered May 20 '15 at 3:23
Philip
6111
6111
Just confirmed this works on Windows 10 in January 2017.
– Nelson
Jan 29 '17 at 16:06
add a comment |
Just confirmed this works on Windows 10 in January 2017.
– Nelson
Jan 29 '17 at 16:06
Just confirmed this works on Windows 10 in January 2017.
– Nelson
Jan 29 '17 at 16:06
Just confirmed this works on Windows 10 in January 2017.
– Nelson
Jan 29 '17 at 16:06
add a comment |
the answer by Cerin above is the good one but there is an edit needed: the proposed key to change is not specific to Chrome and varies according to the logged-in user. this is the working solution:
- Go to
HKEY_CLASSES_ROOTChromeHTMLshellopencommand
- You should see one key, named (Default). Double click this to get an editing popup.
- Change the key value into
"C:Program FilesGoogleChromeApplicationchrome.exe" --new-window "%1"
.
Hi, thanks, this works great. However, either after restarting pc or updating chrome (not sure which) it is set back. Does not bother since I do not do any of those two much too often, but do you have a way to avoid this? The only thing that comes to my mind would create a registry file which would be run on startup.
– Ev0oD
Mar 30 '17 at 12:49
Hi, i am not a regular user of Chrome so I didn't do heavy testing on this solution. However there is a post in the Chrome product forum that suggests you need to change all registry occurencens of chrome to have the new-window switch. find out more there: productforums.google.com/forum/#!msg/chrome/V8blictbYuI/…
– Michael Bahig
Mar 31 '17 at 13:14
add a comment |
the answer by Cerin above is the good one but there is an edit needed: the proposed key to change is not specific to Chrome and varies according to the logged-in user. this is the working solution:
- Go to
HKEY_CLASSES_ROOTChromeHTMLshellopencommand
- You should see one key, named (Default). Double click this to get an editing popup.
- Change the key value into
"C:Program FilesGoogleChromeApplicationchrome.exe" --new-window "%1"
.
Hi, thanks, this works great. However, either after restarting pc or updating chrome (not sure which) it is set back. Does not bother since I do not do any of those two much too often, but do you have a way to avoid this? The only thing that comes to my mind would create a registry file which would be run on startup.
– Ev0oD
Mar 30 '17 at 12:49
Hi, i am not a regular user of Chrome so I didn't do heavy testing on this solution. However there is a post in the Chrome product forum that suggests you need to change all registry occurencens of chrome to have the new-window switch. find out more there: productforums.google.com/forum/#!msg/chrome/V8blictbYuI/…
– Michael Bahig
Mar 31 '17 at 13:14
add a comment |
the answer by Cerin above is the good one but there is an edit needed: the proposed key to change is not specific to Chrome and varies according to the logged-in user. this is the working solution:
- Go to
HKEY_CLASSES_ROOTChromeHTMLshellopencommand
- You should see one key, named (Default). Double click this to get an editing popup.
- Change the key value into
"C:Program FilesGoogleChromeApplicationchrome.exe" --new-window "%1"
.
the answer by Cerin above is the good one but there is an edit needed: the proposed key to change is not specific to Chrome and varies according to the logged-in user. this is the working solution:
- Go to
HKEY_CLASSES_ROOTChromeHTMLshellopencommand
- You should see one key, named (Default). Double click this to get an editing popup.
- Change the key value into
"C:Program FilesGoogleChromeApplicationchrome.exe" --new-window "%1"
.
answered Nov 20 '14 at 11:12
Michael Bahig
1213
1213
Hi, thanks, this works great. However, either after restarting pc or updating chrome (not sure which) it is set back. Does not bother since I do not do any of those two much too often, but do you have a way to avoid this? The only thing that comes to my mind would create a registry file which would be run on startup.
– Ev0oD
Mar 30 '17 at 12:49
Hi, i am not a regular user of Chrome so I didn't do heavy testing on this solution. However there is a post in the Chrome product forum that suggests you need to change all registry occurencens of chrome to have the new-window switch. find out more there: productforums.google.com/forum/#!msg/chrome/V8blictbYuI/…
– Michael Bahig
Mar 31 '17 at 13:14
add a comment |
Hi, thanks, this works great. However, either after restarting pc or updating chrome (not sure which) it is set back. Does not bother since I do not do any of those two much too often, but do you have a way to avoid this? The only thing that comes to my mind would create a registry file which would be run on startup.
– Ev0oD
Mar 30 '17 at 12:49
Hi, i am not a regular user of Chrome so I didn't do heavy testing on this solution. However there is a post in the Chrome product forum that suggests you need to change all registry occurencens of chrome to have the new-window switch. find out more there: productforums.google.com/forum/#!msg/chrome/V8blictbYuI/…
– Michael Bahig
Mar 31 '17 at 13:14
Hi, thanks, this works great. However, either after restarting pc or updating chrome (not sure which) it is set back. Does not bother since I do not do any of those two much too often, but do you have a way to avoid this? The only thing that comes to my mind would create a registry file which would be run on startup.
– Ev0oD
Mar 30 '17 at 12:49
Hi, thanks, this works great. However, either after restarting pc or updating chrome (not sure which) it is set back. Does not bother since I do not do any of those two much too often, but do you have a way to avoid this? The only thing that comes to my mind would create a registry file which would be run on startup.
– Ev0oD
Mar 30 '17 at 12:49
Hi, i am not a regular user of Chrome so I didn't do heavy testing on this solution. However there is a post in the Chrome product forum that suggests you need to change all registry occurencens of chrome to have the new-window switch. find out more there: productforums.google.com/forum/#!msg/chrome/V8blictbYuI/…
– Michael Bahig
Mar 31 '17 at 13:14
Hi, i am not a regular user of Chrome so I didn't do heavy testing on this solution. However there is a post in the Chrome product forum that suggests you need to change all registry occurencens of chrome to have the new-window switch. find out more there: productforums.google.com/forum/#!msg/chrome/V8blictbYuI/…
– Michael Bahig
Mar 31 '17 at 13:14
add a comment |
This command line option should work for you
chrome --new-window
This does not answer the "when clicking links in other programs" question per se, but it does answer my particular query, and is the accepted answer of a duplicate question.
– Nikana Reklawyks
Jan 23 '17 at 3:05
add a comment |
This command line option should work for you
chrome --new-window
This does not answer the "when clicking links in other programs" question per se, but it does answer my particular query, and is the accepted answer of a duplicate question.
– Nikana Reklawyks
Jan 23 '17 at 3:05
add a comment |
This command line option should work for you
chrome --new-window
This command line option should work for you
chrome --new-window
edited Apr 8 '15 at 14:38
Jawa
3,14982435
3,14982435
answered Apr 8 '15 at 13:12
Tech Support
211
211
This does not answer the "when clicking links in other programs" question per se, but it does answer my particular query, and is the accepted answer of a duplicate question.
– Nikana Reklawyks
Jan 23 '17 at 3:05
add a comment |
This does not answer the "when clicking links in other programs" question per se, but it does answer my particular query, and is the accepted answer of a duplicate question.
– Nikana Reklawyks
Jan 23 '17 at 3:05
This does not answer the "when clicking links in other programs" question per se, but it does answer my particular query, and is the accepted answer of a duplicate question.
– Nikana Reklawyks
Jan 23 '17 at 3:05
This does not answer the "when clicking links in other programs" question per se, but it does answer my particular query, and is the accepted answer of a duplicate question.
– Nikana Reklawyks
Jan 23 '17 at 3:05
add a comment |
protected by Community♦ Dec 10 '15 at 4:34
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?