4 ms·
Uhm what am I not getting? This has always been possible. Edit: I think what's new is the UI to add the new engine by typing the URL by hand. Previously engine
by wkat4242 1y ago
Uhm what am I not getting? This has always been possible.
Edit: I think what's new is the UI to add the new engine by typing the URL by hand. Previously engines needed to support OpenSearch to auto-add them (but you could easily add custom ones this way). However pretty much all of them do (it's no trouble, just some XHTML in the page). I don't know why you would do it by hand.
- xingped 1y agoThe only way I could ever add custom search engines was through a separate extension. I have no idea how you've been doing this such that you think it's always been possible?
- wkat4242 1y agoHuh no? I've just added it in settings. No custom extension needed. I'm pretty extension-averse because I already need so many :) Ublock, Sponsorblock, Dark Reader, password manager, consent-o-matic, sideberry I really can't do without. But I've always been able to do it. All I had to do was to simply visit my SearXNG instance once, then it would pick it up and put it in the list of search engines (OpenSearch API) and then I could just set it as default. One thing I could not do was edit search engines (e.g. the URL they visit). I still can't do that in fact but maybe that's new?
- DaSHacka 1y agoIf you check the bugzilla thread in the OP, this is specifically about adding manual search engines outside of automatic OpenSearch support. Theres a panel where you fill out the name, search URL, suggestion URL, and search keyword yourself, under settings. You can add whatever you like, even if its not OpenSearch compatible, just like you already could on Chrome (for the better part of a decade, mind you) If a dev is lazy and doesnt incorporate OpenSearch functionality you can homebrew it easily this way. I personally use it quite often to restrict searches for engines that otherwise only support OpenSearch for their entire catalog. For example, I have seperate `@ma` for manga and `@an` for anime via MAL, where by default (IIRC) they only have the combined "search everything" advertised through OpenSearch. I also use it to search individual boards on foolfuuka archive sites, as the default OpenSearch advertisement suffers the same issue as MAL where it's only for searching every board on the site at once. I'm sure I have even more examples on my browser, I actually use it all the time so I'm glad this is getting mainlined rather than nixed. I use Librewolf, so they already had this enabled by tweaking the corresponding about:config setting themselves.
- wkat4242 1y agoYeah to be honest I read the bugzilla thread but I didn't find it very clear. It's really meant for the in-crowd. Which makes sense for a bugtracker but not for a HN article. And yes good point. I can also imagine using it for stuff that's not strictly a search engine as such.
- wildpeaks 1y agoAll you need is a bookmark, no extension needed: the "keyword" value is how it's called and "%s" in the url is the placeholder for the query. For example, create a bookmark with keyword "youtube" and url "https://www.youtube.com/results?search_query=%s https://www.youtube.com/results?search_query=%s". Then whenever you type "youtube something" in the address bar, it shows you the results directly. The %s trick existed for so long, it even worked back in Internet Explorer.
- wkat4242 1y agoYes and you can even set it as default as I have done. So you don't need to type the 'youtube' or whatever. It works exactly like a builtin one.
- lxgr 1y agoHow can you set it as default?
- wkat4242 1y agoYou just select it under settings. Every search engine you have visited that supports opensearch automatically shows up in the list.
- lxgr 1y agoInteresting, for me they don't. I can only choose between Google, DuckDuckGo, and Wikipedia, even though I have more custom search engines available. They work via their configured shortcuts, but they don't appear in the search settings.
- xingped 1y agoThat must be what the extension I use has been doing, but what a bizarre way to hide such a useful feature.
- nsonha 1y agoit was behind an about:config flag, which is why there are sily addons to add/customize search engines
- wkat4242 1y agoEdit: Actually, I don't have browser.urlbar.update2.engineAliasRefresh configured at all (neither true nor false, just not configured). But for me I've always been able to do it. All I had to do was to simply visit my SearXNG instance once, then it would pick it up (OpenSearch API) and then I could just set it as default. In fact I remember setting up my new tablet a few months ago, and I didn't need to mess with about:config at all, it worked like I mentioned above. On firefox mobile they make it super hard editing about:config for some reason so I'm sure I didn't do that.
- nsonha 1y agoYes, it has alway been working like that, but you couldn't add a search engine that doesn't have an opensearch.xml published (eg chatgpt), make custom search egines such as only search github in your org, or mix and match them such as perplexity with google suggestions
- baobun 1y agoI guess it's a regression fix (perhaps Windows-specific) where it used to work and broke at some recent version? Because the feature as described is indeed nothing new in Firefox. From the linked bug: > Firefox now supports adding your own custom search engines. Just right-click a search field of a supported website and select Add Search Engine, or go to Settings > Search > Add (below the search shortcuts table) to manually enter a search URL. https://support.mozilla.org/en-US/kb/add-or-remove-search-engine-firefox https://support.mozilla.org/en-US/kb/add-or-remove-search-en... Mozilla documentation of the feature (updated 2024): https://support.mozilla.org/en-US/kb/add-or-remove-search-engine-firefox https://support.mozilla.org/en-US/kb/add-or-remove-search-en...
- wkat4242 1y agoAh I see yes, thank you! Must be a regression fix then indeed. Edit: No, after reading it more deeply it seems to be some new UI to manually type the search URL instead of using OpenSearch for it.
- tfehring 1y agoNot Windows-specific, I had to go through about:config to enable this on MacOS as of late last year.
- ttctciyf 1y ago> This has always been possible. No. Starting 2-3 years you had to go through about:config to do this, such as detailed at https://www.reddit.com/r/FirefoxCSS/comments/qqkw5x/enabling_this_add_search_engine_option/hk1lzia/ https://www.reddit.com/r/FirefoxCSS/comments/qqkw5x/enabling... and https://connect.mozilla.org/t5/discussions/custom-search-engines-like-chrome/m-p/23916 https://connect.mozilla.org/t5/discussions/custom-search-eng... etc. Heaven knows what they were thinking when they made this option only available by the user adding an undocumented preference! I needed to do this on desktop linux a few months ago to use the AI-avoiding &udm=14 google tweak[0] 0: https://news.ycombinator.com/item?id=43002403 https://news.ycombinator.com/item?id=43002403
- altairprime 1y agoYou probably want &udm=14 and &tbs=li:1 instead of udm alone.
- ttctciyf 1y agoI see tbs=li:1 activates "verbatim". Duly applied, with thanks :)
- altairprime 1y agoo7
- wkat4242 1y agoWell yes but the point was kinda moot because it was easily possible to add an opensearch provider and every self-respecting search engine supports that. Why wouldn't they? It makes it easy for users to adopt them and it's not hard, just some boilerplate code. So the URL entry box wasn't really needed for the main purpose. It's nice to use the feature to use with things that aren't literally search engines though. Or to tweak the URL. I wonder, is the AI avoidance thing very effective? Not that I use Google directly but still.. (I use SearXNG as meta search)
- 1y ago
- lxgr 1y agoIs (was) it possible to set an OpenSearch engine as the default search provider, though? At least I haven't been able to find a way to do that, so maybe that's what's different now.
- deleted 1y ago[deleted]