Backup Search Engines
-
@potmeklecbohdan I know, it inserts the button and input field in another place too. That’s because the selector isn’t unique. No one else noticed this in over a year though, so I never bothered.
-
@potmeklecbohdan Do you need a fix? It’s a shame Vivaldi devs got rid of most of the individual IDs and classnames. I remember we talked to one dev a long time ago, when these changes had been freshly introduced to the toolbar buttons for navigation in the address bar. He mentioned that it was done for speed, but that the improvements were likely only miniscule. Speak: add a few hundred specific selectors back in and no one will notice. Well, that’s node.js for you…
-
@luetage No, I don’t. I used the All Settings section just randomly while playing with hooks.
But it makes me quite angry how they often do changes just to break mods… Maybe we should show them how poor the browser is w/o them?
-
@potmeklecbohdan They obviously break our mods intentionally, for they exactly know how bad Vivaldi is without them. See, it’s out of jealousy, because they aren’t allowed to use custom mods, so they can’t stand anyone else having a great time. It’s the reason why it took so long to implement native
custom.css
and it’s also the reason why there is no native javascript version for this. Tears of despair are running down my cheeks just thinking about it. -
@luetage Then there’s a question why don’t they just implement what’s easy & copy what’s harder? I tried to tell them about a simple fix (thanks Lilo for your help) that basically needed knowing of the bug and what the structure there looks like—it’s been 18 days & many snapshots… I give up! (trying to help them, not modding, ofc)
-
@potmeklecbohdan Good question, thank you for bringing it up. If you had simply reported a bug, I’m quite certain it would have long been dealt with. But you dared to include the solution, which is basically telling them what to do. Devs are like angry teenagers, tell them one thing and they do the opposite. This will never be fixed I’m afraid—and it’s all your fault.
-
@luetage said:
Devs are like angry teenagers, tell them one thing and they do the opposite.
It depends also on what & where they dev. If it’s closed source or a big company, there’s a big chance for this. Unfortunately, I only understand the philosophy of & have some experience with open source.
This will never be fixed I’m afraid—and it’s all your fault.
Err… sorry everyone who is affected
-
So, I'm very interested in this , where is that button now? Can't find it lol. Thanks.
-
@npro Uh, which button? It should all be explained in the first post. If you can’t see the button in
vivaldi://settings/search
, just try to click on the site once, then the button should load, if it hasn’t already. Should you have a different problem please specify. Furthermore check console for errors in custom.js. -
@luetage It worked like a charm now, thanks and god bless you (I have looooots of search engines)
-
Hello @luetage and thanks a lot for your numerous scripts and css's.
I just have one problem:
Despite of having modded the browser.html and copied the "custom.js" (to be precise: backup-search-engines.js) alongside the modded browser.html, there's no change in the UI (no additional buttons). Neither on Windows or Linux.
Any idea? Anyone?My Vivaldi Version is:
3.3.2022.45 (Stable channel) (64-Bit) -
@maze If you want to check whether the mod triggers at all yourself, you can insert a console.log in the code and fire up devtools. You can also paste a copy of the content of your
browser.html
file here, or on any other site (e.g. pastebin) and I'll take a look. Make sure that the filename of your js file is the same name you use inbrowser.html
. -
Here's my browser.html:
https://is.gd/Sfc4JAAnd here's a snap of the Vivaldi folder in question:
-
@maze Looks fine. The thing is the mod should work on latest stable and it definitely works on latest snapshot. Please check whether you can see an error in console concerning the mod while inspecting UI. Are you running other
js
mods? Different mods can sometimes interfere with each other. -
@luetage Not sure if I understood you correctly, but here's a snap of the console after starting up Vivaldi, then inspecting the speed dial:
I'm not running any other mods. I have no idea why the first three .js's are missing and if they are needed in the first place. The browser.html error looks odd.
-
@maze These errors are normal, everyone sees them. Are you trying to view search engines in the “Display All” category. If so, go instead to the “Search” section directly and click once at bottom on an empty part of the page. The additional buttons should load then.
-
@luetage I think got it! Sorry if this was said before and I skipped it accidentally, but the buttons only appear when using the site vivaldi://settings/search/ directly, then clicking some empty part.
The mistake was, I was entering the settings via ctrl+F12. I'm a fan of shortcuts.
But the pop-up settings doesn't seem to work with this.Thank you!
-
@maze Yeah, if you visit search settings directly, the mod has no chance to trigger. I might rework that. Honestly, I thought that both search and theme syncing would have been integrated native at this point and that’s why I haven’t really tried to improve on it over the last months. Seems like this isn’t going to be the case in the near future.
-
@luetage Okay, no problem. Now that I figured that out I'm just happy it works now.
Cheers!
-
If you are not using the settings page as a tab, this mod will need to be added to the
window.html
(same as the theme import/export one) instead. You will find it in the same location asbrowser.html