Hacker News new | past | comments | ask | show | jobs | submit login

I did mention using bookmark keyword searches as hack to get sync, but I'm talking about proper support for syncing user registered OpenSearch[1] providers (and any user configured keyword shortcuts for them)

As of now you can add an OpenSearch[1] provider in Firefox using the javascript api `window.external.AddSearchProvider(engineURL)` where engineURL is the XML file description of the search engine like this one for IMDb search:

https://m.media-amazon.com/images/G/01/imdb/images/imdbsearc...

This is the method the Mycroft[2] project uses, which Firefox recommends. Chrome though, besides also supporting that API, looks for a search meta tag in a page's head after you visit it liking to the same OpenSearch provider xml

<link rel="search" type="application/opensearchdescription+xml" href="https://m.media-amazon.com/images/G/01/imdb/images/imdbsearc... title="IMDb">

In Chrome, after you visit their home page with that metadata it's registered as a provider so once you start typing Imdb in the omnibox, you see an indication to press 'Tab' in the right corner of the omnibox, and it switches to searching imdb instead. Even providing autocomplete if the search provider supports it.

Firefox could make registering these more discoverable from the UI (adding via a page action as an example at least?)

[1] http://www.opensearch.org/Home [2] http://mycroftproject.com/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: