evilpie / add-custom-search-engine

Add a custom search engine to the list of available search engines in Firefox
https://addons.mozilla.org/en-US/firefox/addon/add-custom-search-engine/
Mozilla Public License 2.0
173 stars 13 forks source link

[Feature Request] How to know what to type inside 'Suggest URL' field #57

Closed Roccobot closed 11 months ago

Roccobot commented 1 year ago

I created a custom DuckDuckGo search which includes all my favorite options as parameters. That's really great, but that way I lost the autocomplete feature. I tried putting different things into the 'Suggest URL' field, but I couldn't manage to make it work (consider that I'm not a developer and I wasn't really sure what I was doing...).

The most promising string that from my understanding should have worked is https://duckduckgo.com/ac/?q={searchTerms}&t=h_ it doesn't work either though.

Probably, the existing documentation about this aspect of OpenSearch is too difficult for my capabilities.

I marked this as a feature request 'cause it would be amazing to have a link just below that field, pointing to a page with some use cases. Or maybe a static page with ready-to-use strings for major search engines? Or just an example?

drrlvn commented 11 months ago

I got this URL to work: https://ac.duckduckgo.com/ac/?q={searchTerms}&type=list. I found it by looking at the source of some Mycroft extensions that use POST, but I don't know how I should've found it out myself.

Roccobot commented 11 months ago

Thanks, it works! 😍