Closed acomagu closed 2 years ago
Thanks for the contribution, but I think we don't need rel="suggestions" at all. None of the test cases used by Firefox have it: https://searchfox.org/mozilla-central/search?q=application%2Fx-suggestions%2Bjson. And I just manually tested using your google URL and search suggestions do work.
I also confirmed it works (I couldn't find the reason why it wasn't work well when I submit this issue) Sorry for making confusion!💦
Thanks for great tool!
I noticed suggestion doesn't work despite I fill "Suggest URL" field, like "https://www.google.com/complete/search?gl=us&output=firefox&q={searchTerms}".
Adding
rel="suggestions"
attribute to the<Url >
tag resolved the issue, so seems the attribute is necessary(at least for Firefox 99). This PR adds it.Reference: Google Official OpenSearch File