![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Internet opensearch suggestions stoped working
We have an internally written and hosted opensearch plugin which after upgrading to Firefox 7 the suggestions stopped dropping down in the browser. (I don't remember what we were running before) As before when one hits enter it still submits the keyword to the proper page URL.
The plugin xml is: <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>Directory Listing v1.1</ShortName> <Description>Directory Listing</Description> <Image height="16" width="16" type="image/x-icon">http://int.bh.com/phonelookup/favicon_phone.ico</Image> <Url type="text/html" method="get" template="http://int.bh.com/phonelookup/phonelookup.php?keyword={searchTerms}"/> <Url type="application/x-suggestions+json" method="GET" template="http://int.bh.com/phonelookup/suggest/suggest.php?format=json&mode=FirstNickLastNumber&keyword={searchTerms}"/> </OpenSearchDescription>
suggest.php output (keyword=bill): ["keyword",["Bille, Bntonio, 123","Biller, Bvrum, Dhesky, 202","Darias, Billy, 829","Durran, William, Billy, 265","Fexter, William, Bill, 168","Jamet, Bill, Borris, 262", ]]
Thanks for all your help. S. Lewitan
Gewysig op
Gekose oplossing
It turns out I have an extra comma at the end of the json string which I guess in the older versions didn't mess things up. Sorry for the trouble.
Lees dié antwoord in konteks 👍 0All Replies (2)
Upgrade your browser to Firefox 8 and check
Gekose oplossing
It turns out I have an extra comma at the end of the json string which I guess in the older versions didn't mess things up. Sorry for the trouble.