Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add opensearch/omnibox integration #147

Open
mmontag opened this issue Feb 23, 2024 · 0 comments
Open

Add opensearch/omnibox integration #147

mmontag opened this issue Feb 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mmontag
Copy link
Owner

mmontag commented Feb 23, 2024

Allow chiptune.app searches directly from Chrome Omnibox.

https://developer.mozilla.org/en-US/docs/Web/OpenSearch

HTML:

...
<link rel="search" type="application/opensearchdescription+xml" 
      title="Chiptune.app Search" href="/xml/opensearch.xml">
...

opensearch.xml:

<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
                       xmlns:moz="http://www.mozilla.org/2006/browser/search/">
  <ShortName>[SNK]</ShortName>
  <Description>[Search engine full name and summary]</Description>
  <InputEncoding>[UTF-8]</InputEncoding>
  <Image width="16" height="16" type="image/x-icon">[https://example.com/favicon.ico]</Image>
  <Url type="text/html" template="[searchURL]"/>
  <Url type="application/x-suggestions+json" template="[suggestionURL]"/>
  <moz:SearchForm>[https://example.com/search]</moz:SearchForm>
</OpenSearchDescription>
@mmontag mmontag added the enhancement New feature or request label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant