Backup Search Engines
-
@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
-
I reworked this mod, updated original post. Will only work with settings in a tab and by directly visiting
vivaldi://settings/search
. The overviewvivaldi://settings/all
won't trigger the mod. -
@maze The new mod should theoretically work with your shortcut directly, try it out.
edit: oh, you opened the popup with the shortcut, that will not work. What works is generating a bookmark forvivaldi://settings/search
and opening that in a tab. -
@sjudenim I tried that by adding the script to the body of window.html, but it didn't work on the settings pop-up.
-
@luetage Thanks, when I open the settings via vivaldi://settings/search/ the buttons are already there, no need to click anywhere anymore. Nice!