News for hackers. Stuff that matters.
Re:Firefox Address Bar Tips by bmacho on Monday July 10, 2023 @10:18AM (#36666835)
I've wrote the same, with the same algolia example :D

Do you remember if it was possible to edit or add custom search engines from GUI before? I remember having them, but I can't find it. Also it seems to me as a basic feature and not a "killer feature".

Re:Firefox Address Bar Tips by bejd on Monday July 10, 2023 @10:22AM (#36666896)
Right-click on a search box > "Add a Keyword for this Search".

Edit: it then gets saved as a bookmark and you can edit it like any other.

Re:Firefox Address Bar Tips by bmacho on Monday July 10, 2023 @10:25AM (#36666940)
I don't have that. Where? Algolia and google search boxes(? the input fields?) don't show anything like that.

edit: also if I modify a keyword for my opensearch/xml search engines in about:preferences#search , it won't show up as a regular bookmark. Also I can't even see the URL for those search engines.

Re:Firefox Address Bar Tips by velut on Monday July 10, 2023 @10:45AM (#36667245)
Right click inside a search box. There should be the option "Add a Keyword for this search".
Re:Firefox Address Bar Tips by bmacho on Monday July 10, 2023 @11:00AM (#36667447)
Where? What is a search box?
Re:Firefox Address Bar Tips by velut on Monday July 10, 2023 @11:11AM (#36667589)
The search input provided by a website. You can try with the one in the footer of Hacker News and it works. See https://imgur.com/oxqMw6D
Re:Firefox Address Bar Tips by TeMPOraL on Monday July 10, 2023 @02:52PM (#36671201)
There used to be a GUI for that. Then they removed it. The functionality is still sorta, kinda available, in varying and increasingly undiscoverable ways.

Last time I checked, you had to navigate to a search engine (and/or make a search with it?) and hope its author published some magic special microformat metadata that identifies it as a search engine - then Firefox would helpfully offer you an option to add it as a search engine, somewhere in the address bar. I don't remember if it had any indicator visible by default, or if you had to right-click the address bar first.

And now I learned they "improved" this once again - hiding the feature under a right-click on a search box.

It really seems like browser vendors want to soft-kill this options. I'm just not sure why, especially when it comes to Firefox.

Re:Firefox Address Bar Tips by zvmaz on Monday July 10, 2023 @03:10PM (#36671434)
There's a firefox plugin [1] that lets you add custom search engines; they will be visible in the settings menu under "Search Shortcuts" where you can set the keyword to trigger the custom search.

[1] https://addons.mozilla.org/en-US/firefox/addon/add-custom-se...