Open URL / Search in New Tab from Address Bar with "Enter"
-
So i've been running with the above change for the past month, and it's been going great with no issues to report.
Now the only thing that doesn't have the option to open in a new tab is Paste and go from the address bar context menu, but that can be worked around using the command chain mentioned in the last few posts.
I can finally not have to decide if I want to open Quick commands or the address bar, or accidently pressing Enter instead of Shift+Enter... the way it should be.
And ALT+D can go back to being the shortcut for the address bar instead of Quick commands.
So long as Vivaldi don't do some changes that may screw this up, or my script to change the value stops working, this seems to be a viable solution until/if it ever gets implemented natively.
-
I already explained that requested feature is extremely simple to implement and that there is no sane and rational excuse for not doing it.
-
Pls help make improvement for this feature.
-
bumping this feature request. Please let us open a new tab from the address bar using
ENTER
. -
Honor to @7twenty! Thank you! You saved my life!
For anyone who want to open address bar in new tab by default. Follow these steps:
- Make a copy of
C:\Program Files\Vivaldi\Application\6.1.3035.75\resources\vivaldi\bundle.js
to a temporary folder which you have edit permission, for example:C:\aaa\
. If you installed vivaldi in another folder, you will be able to find the6.1.3035.75\
(or other version number depends on which version of vivaldi you installed) folder in the same folder as the executable file:vivaldi.exe
. - Open the bundle.js in text editor and replace
inCurrent:!o
withinCurrent:o
[this will swap the address bar hotkey option: open Addressbar URL in new tab by default and open URL in current tab if 'Shift'/'Alt' pressed]. Save the changes. - Copy the modified
bundle.js
back to\Vivaldi\Application\6.1.3035.75\resources\vivaldi\bundle.js
. You may need administrator privilege to do so. - Restart Vivaldi. Enjoy!
@7twenty said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
Because of the most recent post about this same issue it got me looking at this again.
From what i can tell this is the code from
bundle.js
that deals with the modifier keys:o = n.shiftKey && "shift" === this.props.prefValues[D.kAddressBarUrlOpenShortcut] || n.altKey && "alt" === this.props.prefValues[D.kAddressBarUrlOpenShortcut] || jC,
So with my basic understanding of how this works, it sets the modifier key to alt or shift if the text string matches the string that is set in
D.kAddressBarUrlOpenShortcut
(variable set in settings).Now again, in an extremely simplistic view of this, all that needs to happen is to ignore this code. And as confirmation of that you can completely bypass the modifier key and have tabs open in a new tab by changing the line:
inCurrent: !o,
toinCurrent: o,
Which basically just swaps what modifier+enter does (open in current tab or not)So all that needs to happen is the checkbox added in settings, and some code to change the
!o
too
based on that setting. And then the requisite testing to ensure things aren't broken.This is quite possibly a backwards way of looking at it and achieving the outcome required, but i'm just a tinkerer of this stuff. I'm sure someone who knows what they're doing could have figured this out in 5mins in a much cleaner way.
For now i'm running with this modification to the
bundle.js
to see what/if it breaks anything. - Make a copy of
-
@nikitawin said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
Honor to @7twenty! Thank you! You saved my life!
For anyone who want to open address bar in new tab by default. Follow these steps:
- Make a copy of
C:\Program Files\Vivaldi\Application\6.1.3035.75\resources\vivaldi\bundle.js
to a temporary folder which you have edit permission, for example:C:\aaa\
. If you installed vivaldi in another folder, you will be able to find the6.1.3035.75\
(or other version number depends on which version of vivaldi you installed) folder in the same folder as the executable file:vivaldi.exe
. - Open the bundle.js in text editor and replace
inCurrent:!o
withinCurrent:o
[this will swap the address bar hotkey option: open Addressbar URL in new tab by default and open URL in current tab if 'Shift'/'Alt' pressed]. Save the changes. - Copy the modified
bundle.js
back to\Vivaldi\Application\6.1.3035.75\resources\vivaldi\bundle.js
. You may need administrator privilege to do so. - Restart Vivaldi. Enjoy!
@7twenty said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
Because of the most recent post about this same issue it got me looking at this again.
From what i can tell this is the code from
bundle.js
that deals with the modifier keys:o = n.shiftKey && "shift" === this.props.prefValues[D.kAddressBarUrlOpenShortcut] || n.altKey && "alt" === this.props.prefValues[D.kAddressBarUrlOpenShortcut] || jC,
So with my basic understanding of how this works, it sets the modifier key to alt or shift if the text string matches the string that is set in
D.kAddressBarUrlOpenShortcut
(variable set in settings).Now again, in an extremely simplistic view of this, all that needs to happen is to ignore this code. And as confirmation of that you can completely bypass the modifier key and have tabs open in a new tab by changing the line:
inCurrent: !o,
toinCurrent: o,
Which basically just swaps what modifier+enter does (open in current tab or not)So all that needs to happen is the checkbox added in settings, and some code to change the
!o
too
based on that setting. And then the requisite testing to ensure things aren't broken.This is quite possibly a backwards way of looking at it and achieving the outcome required, but i'm just a tinkerer of this stuff. I'm sure someone who knows what they're doing could have figured this out in 5mins in a much cleaner way.
For now i'm running with this modification to the
bundle.js
to see what/if it breaks anything.Hello! Can you or somebody else verify that this solution still works? Because I don't want to break Vivaldi by mistake. And which checkbox should I activate before changing the code in the bundle.js file?
Thank you!
- Make a copy of
-
@kavulio said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
Can you or somebody else verify that this solution still works?
Still working here for me, running v6.1.3035.204.
So long as you keep a backup of the original file, if you do manage to break something, just restore it.
@kavulio said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
And which checkbox should I activate before changing the code in the bundle.js file?
Makes no difference, it just changes what it does. So instead of using Shift+Enter to open in a new tab, now it opens in the same tab.
-
bump.
5 years of applying workarounds of all sorts, and still no interest from the devs to implement this simple feature request.
I'm glad editingbundle.js
still work but we should have a native setting to turn this on/off. -
This is still not implemented?
Where are those that claimed it is very difficult to implement this feature and that we request silly things now that is proven that is a simple request which works as intended?
I don't understand Vivaldi development team that they are not caring about it's userbase at all. I do understand Google does not give **** about it's userbase as it is gigantic, but Vivaldi as a browser with extremely smaller base, would/should do those small things to GROW it's userbase.It is not normal that such simple, but crucial feature for many, is refused to be implemented for 5 years!
//modedit: language
-
@projektilski said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
This is still not implemented?
Not important enough yet to even be tagged as NICE TO HAVE. There are several simple workarounds.
No one refused to implement it; or it would be tagged as WILL NOT DO.
Five years ago there were 3,000 feature requests; now there are about 5,100, not including requests for the Forum and Community.
-
@7twenty @nikitawin [Solved] It works for me also! Finally, a solution. Thank God for both 7twenty and nikitawin who should get a reward for this. I could never figure out why the default meant losing the page you were on when going to a new link in the address bar, but then again, I only use browsers that I can enable multiple tab rows on.
-
@Pesala said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
@projektilski said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
This is still not implemented?
Not important enough yet to even be tagged as NICE TO HAVE. There are several simple workarounds.
No one refused to implement it; or it would be tagged as WILL NOT DO.
Five years ago there were 3,000 feature requests; now there are about 5,100, not including requests for the Forum and Community.
So, it is even worse than I thought, After 5 years it is not even acknowledged as a valid request. This is such a red flag.
Never mind, this browser should be forgotten that it exists if such a straightforward, yet so important to some users, things can't be resolved in f*cking 5 years. -
@projektilski
Hi, this happen when only 62 user vote for a request in 6 Years.
This one is not even tagged as "Nice to have", I would not wait for it.Cheers, mib
-
@mib2berlin said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
@projektilski
Hi, this happen when only 62 user vote for a request in 6 Years.
This one is not even tagged as "Nice to have", I would not wait for it.Cheers, mib
I didn't know Vivaldi has such a huge and active user base in forums (and in general) that thousands of upvotes for this feature are required.
It was proven that the feature is extremely easy to implement (which I claimed from the beginning) yet developers for a f*cking 5 YEARS couldn't take less than 5 minutes of their time to implement it.I, as a potential new user, think that if developers completely ignore (they didn't even address it) such a simple request then this project is not worth following or supporting in any way.
This is NOT a way to grow the user base.EDIT: Now it has been f*king 6 years that this feature has not been implemented. There should be a big warning that feature requests with less than 100 upvotes will never be implemented no matter how easy to implement the feature is.
-
@projektilski
Hi, user votes are not the only reason a request would be implemented or not.
Specially if the user simply hold the Alt key and hit enter to get the same result.
Many users have there pet features, I would never need this so I don't vote for it. -
@mib2berlin said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
Specially if the user simply hold the Alt key and hit enter to get the same result.
And the horizontal tab bar does the same as a vertical one. Yet the tab bar can be moved to every edge of the browser? You can close a tab using CTRL+W, yet the option to use a gesture is there?
I'd say without a doubt that the code to implement the vertical tabs would be way more difficult than that of the new tab option being asked for.
Vivaldi of all browsers doesn't shy away from giving users options. That is why it's so annoying that something like this is not being implemented. I think it'd be different again if it was able to be added like a CSS/JS mod as well.
-
@7twenty
I understand but this is the same with thousands of "easy to implement" requests.
Which one you choose from a kilometre long todo list?
If there are two workarounds for a request I would take a request with no workarounds.
The second is F2, type > Enter.Cheers, mib
-
@mib2berlin said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
Which one you choose from a kilometre long todo list?
That's easy. MY request is the only logical/sensible/practical/widely useful one. (And, BTW, when you don't understand coding, everything is as "easy to implement" as flipping a switch. You just reach into the bucket of tricks that every developer keeps beside their desk, grab the relevant feature, and plug it in where it goes.)
-
@Ayespy you forgot to include <sarcasm> </sarcasm> in your reply
Ok, going back to matter at hand. All those workarounds don't work with "Paste & Go" when you use it from right clicking on address bar.
Any solution? Or maybe the devs will finally add few lines of code to make Enter open a new tab instead of adding whole mail client in a web browser (ever heard of Seamonkey?) or even a game when you don't have internet access... -
@kapela To be fair, an built-in email client was always an integral part of the Vivaldi vision, and Seamonkey has no such thing. It has an email client that opens when you open the browser, and cannot be seen or used in the browser window. That is not a mail client in a web browser. It's a sidecar.