Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter"
-
@pafflick said in Option to Open a URL / Search Results in a New Tab from the Address Bar with "Enter":
this is already possible with the use of Command Chains:
Indeed it is. Not quite as streamlined as the new tab page has to open first, but definitely does the job.
You really have to think slightly outside the box when it comes to all options that chains can offer.
Thanks for the tip.
Still would like the original request added at some stage though
-
-
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. -
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