Support Chrome's omnibox search

Announcements and discussion for PInvoke

Support Chrome's omnibox search

Postby drewnoakes » Thu May 26, 2016 1:15 pm

If you put some markup on the site:

Code: Select all
<link rel="search" type="application/opensearchdescription+xml" title="" href="/opensearch.xml" />

The make opensearch.xml:

Code: Select all
<OpenSearchDescription xmlns="" xmlns:moz="">
  <ShortName> the interop wiki!</ShortName>
  <Description> is primarily a wiki, allowing developers to find, edit and add
    PInvoke signatures, user-defined types, and any other information related to calling
    Win32 and other unmanaged APIs from managed code (written in languages such as C# or VB.NET).
  <Url type="text/html" method="get" template="{searchTerms}&namespace=[All]"/>

Then when people type "" into Chrome (and other browsers) there's an option to search directly from the chrome omnibox. This is a great usability feature! And it's very easy to add to the site.

Some more information here. ... -your-site
Posts: 3
Joined: Thu May 26, 2016 9:44 am

Return to PInvoke.Net

Who is online

Users browsing this forum: No registered users and 1 guest