Choose Search engine in Address bar
-
@dai7p I tested it now, this mod still works. Make sure you are using an up to date Vivaldi and the latest version of this mod.
-
I use the latest version of the script. However, it doesn't work in latest snapshot of today.The latest version works. However, the fix isn't mentioned in Changelog. I used the fixed version of 29/3/2022 that doesn't work.
Please update Changelog, @tam710562
-
@tam710562 Even if the current script works when updating Vivaldi snapshot, there is a limitation: the icons of the search engines are no longer displayed, except the last used ones. See screenshot:
On the other hand, all icons are displayed in the search bar.
Is it possible to extend the script to fetch and show all icons?
-
@Dancer18 Not sure what happened but do you see these icons in the settings?
-
@tam710562 Yes I do. In settings all icons are displayed.
-
anyone got this to work on 5.3
-
@adacom said in Choose Search engine in Address bar: > anyone got this to work on 5.3
What do you mean by that?
My problem is that after Vivaldi update most of the search engine icons are no longer displayed below the address bar, although they are visible in the settings and in the search bar.This problem still exists here.
-
@Dancer18 I fixed this error. I hope it works for you
-
@tam710562 Yes, great! It works fine now!
Thank you very much!!! -
@tam710562 It's that time again: Your wonderful script needs an update. The OneClick setting
true
remains ineffective. -
@Dancer18 I added some updates that hopefully solve the problem
-
before i start digging is this still working on the latest release
seems not to for me but i always ask what am i doing wrong
-
For some reason it now always uses the default search engine when you type or paste a query into the address field, unless you end your search string with a space:
- type or paste "vivaldi", press an icon of the search engine you want to use - this will start the search in the default search engine;
- type or paste "vivaldi ", press an icon of the search engine you want to use - this will start the search in the search engine you selected.
-
I just added an update
- Fix an issue where extra space appeared around the search engine selection box.
- Fix the error of not entering the correct value in the address bar.
@dai7p I can't reproduce what you wrote but have added a new update that will hopefully fix the problem
-
@tam710562, thank you for reply!
Unfortunately, the problem remains. But there is a little more I can add to perhaps clarify it a bit more:With "oneClick: false", clicking on an icon of the desired search engine after typing or pasting the search string will only insert a correct nickname for the selected search engine in the address bar in front of the entered search string, but will not start the search itself.
For example:
Type or paste "vivaldi" into the address bar, press the Google icon - we have "g vivaldi" in the address bar.With "oneClick: true", pressing the icon of the desired search engine after typing or pasting the search string will start the search immediately, but the exact search engine it will start the search in depends on the presence or absence of the space character at the end of the search string: without the space character it will start the search in the default search engine, with the space character it will start the search in the selected search engine.
For example:
- type "vivaldi" in the address bar, press the google icon - starts a search for the string "vivaldi" in the default search engine (for me - it is DuckDuckGo);
- type "vivaldi " in the address bar, press the google icon - starts a search for the string "vivaldi " in Google Search.
(All this with the new version of the script)
-
@dai7p What version of Vivaldi are you using?
I am using Snapshot 6.6.3271.4 and everything still works -
@tam710562
6.5.3206.63 (Stable channel) (64-bit)
I also have a portable version installed - same problem, even with all extensions disabled.The problem actually appeared a long ago, with I think a 6.4 or 6.5 major update.
-
@tam710562 as small advice, maybe you put the settings as close to the top as possible. I've totally missed them and only noticed them because you mentioned
oneClick
in the updates. -
@tam710562
Update:
Since both portable and non-portable of my browsers use the same synchronised profile and consequently the same list of search engines, I tried to test the script in a new profile - well, it works as intended without any problem both with a default list of search engines and with the list of search engines imported with js from my old profile.So it seems that the most obvious solution for me would be to try resetting and re-syncing the profile, but that's a really last resort here, so for now I'll just keep using the default search panel instead.
-
Update:
Well, deleted the old profile folder. In a new profile the script worked as intended until I logged into my old Vivaldi profile and did a sync - and the problem returned.For now, I am completely out of ideas, unless there is a good guide on how to set up and run a debugger for such scripts in step-by-step mode to see what is happening with its parameters inside.