Opening Pages In New Windows
-
Hello – I'm a relatively new refugee from another browser
I'm very pleased with Vivaldi so far — it performs well.
There's just one thing – with a 3-monitor setup I prefer windows to tabs. Vivaldi is customisable enough for this (mostly) to work. However where a link in a page opens a new page/tab by default [Target=Blank], in Vivaldi it's always a new tab. Is there a setting to change this to always open in a new window?
Also, new windows are always slightly smaller than the 'parent'. Is there any way to make them the same size.
Many thanks! -
Sorry — just noticed some of you had posted answers when I asked this question previously. My mistake — I will read the responses carefully now.
-
@doctorofmusic Just click on link w/
[Ctrl]+[Shift]
pressed.Will open link in new window
-
Thanks for the suggestion — I already do this using the right mouse button – Open in New Window – which works fine. The problem is when the link is from an external application – in an email, for example. These links always open in a new tab, and it doesn't seem possible to change this?
-
You'd need to edit Windows' file associations - not the simplest thing. There is a commandline argument you can use, but in Windows that typically means editing the registry.
-
Here's a cmd script that forces Vivaldi to open links in new windows (links like shortcuts on desktop, URLs in Windows settings or applications etc).
Just download or copy the text into a .cmd file and run. -
Thank you very much for this — but I'm sorry to report it doesn't seem to work
I saved the 'raw' script straight out of Vivaldi, changed the extension to .cmd and ran it from an administrative command prompt.
I selected F and the script seemed to complete without any errors. However, links external to Vivaldi still open in a new tab. I ran it a couple more times, but still no joy.
I'm not a coder/programmer, but I'm happy to edit the registry, if that would be easier? But I don't want to take up too much of your time — I appreciate you've spent a fair bit already....
-
@doctorofmusic
Maybe you have Vivaldi installed differently..
Can you try this?: go to bottom of the file and type REM and a space before rmdir %workdir% /s /q so it will become REM rmdir %workdir% /s /q and then save and run it again, after it's done open file explorer and type %temp%\noamnotyou and send me those files that are in that folder. Will be able to see there if maybe you need a different syntax on your machine or if there is some other issue. -

Apparently I don't have enough privileges to send you the files, but the system seems happy with images. So with any luck, if you change the attached from a .bmp to a .zip then all will be well.
I don't know if this is important but I start Vivaldi with a command-line argument:
C:\Programs.x64\Vivaldi\Application\vivaldi.exe --disk-cache-size=62914560Also I have non-standard names for my Program Files directories, but they're correctly specified in variables %ProgramFiles% etc, and everything works perfectly.
-
--disk-cache-size=62914560
Oh I think I found the issue, changed the command a bit to make it work in your case and hopefully any case... It's the same link as before, just edited the gist on GitHub.
If it still doesn't work here are the steps to do it manually, see if you can follow them, that's what the script does, but if it doesn't work then there's something different in your machine, do you have a portable Vivaldi installation?
- Open RegEdit.exe (Win+R > type regedit > press enter > give admin permissions)
- In address bar, paste Computer\HKEY_CLASSES_ROOT\VivaldiHTM
- Type in a period and let it suggest a path, if you have multiple, you need to repeat the steps for each one to get the one Windows is actually using.
- At the end of that path, paste \shell\open\command and click enter
- Double-click (Default) and in 'Value data:' field replace the double dash (--) with --new-window
- Click OK and test it with a link or shortcut to a webpage, if it doesn't work make sure you typed everything exactly right, no extra spaces or anything.
-
Well now that is absolutely superb
It worked first time — very many thanks!
Just out of interest, if you can explain in terms I can understand, what did you need to modify for my particular installation?
-
@doctorofmusic
You said you had a cmd-argument already, so needed to change the part that looks for where to put it as it looks for the default.Just updated the post above with the manual steps in case it still doesn't work, but happy to see it did, you're welcome.
I have a lot of windows open most of the time across different (virtual) desktops and it's annoying for it to jump to another desktop and open a new tab in a window there if I click a link or some program wants to send you to a website to update or whatever...
-
OK, yes, I see.
Well we can mark this down as a success, then.
Thanks again!
-
Actually I just checked the manual instructions, and this is what I have in the registry under shell/open/command:
"C:\Programs.x64\Vivaldi\Application\vivaldi.exe" --new-window --single-argument %1As you seem rather skilful in this area, would you have any thoughts on my other query, which is that when opening new windows from within the application (using Ctrl+N) the 'child' window is always smaller than the parent? I'd like them to be the same size if possible, which the ones opened from external links now are.
-
As you seem rather skilful in this area, would you have any thoughts on my other query, which is that when opening new windows from within the application (using Ctrl+N) the 'child' window is always smaller than the parent? I'd like them to be the same size if possible, which the ones opened from external links now are.
If you open from within Vivaldi, cmd-arguments won't affect it as it's not opened by Windows.
Is it only Vivaldi that opens up smaller than parent window? It doesn't happen on my end, and nothing else does that, it's always the same size as the last/currently active one just offset slightly to the right and down, same behaviour as File Explorer if you were to open multiple windows of it.
As far as I know Vivaldi doesn't have a way to set size of a new window and only some 3rd party utility applications can override the default behaviour of Windows, do you have anything like that installed? -
@DoctorOfMusic
Updated the script to give an option to open external links in incognito/private and also made it more robust and compatible with any other settings you might have along the way, and maybe added a very useful option to just spam the cmd window with colours too...... -
OK top work, many thanks
Just to address your previous post – yes it's only Vivaldi which opens ever-decreasing-
sized windows, and I don't use any third-party applications which would cause it to.. No other application on my computer does this, nor did my pervious browser (I used to use Palemoon).
So it remains a bit of a mystery. Sorting out the new window opening has made a big difference, though.
-
That's weird, but still I haven't found any way to control size of new windows in Vivaldi, so it has to be either something external or a hard to reproduce bug which is really hard to find and fix...
Assuming this issue persists between browser and system restarts, try backing up your Vivaldi install (folder containing vivaldi.exe, and 'User Data') and making a new clean install without changing any settings or logging in and just open some windows of it to see if it still shrinks newer windows.
If you do try that then double-check it's the right Vivaldi install and data folder and not old remains of a previous install.
-
Ppafflick moved this topic from Vivaldi for Windows on