[whatwg] SearchBox API

Robert O'Callahan robert at ocallahan.org
Thu Oct 14 21:23:21 PDT 2010

On Fri, Oct 15, 2010 at 12:53 PM, Tony Gentilcore <tonyg at chromium.org>wrote:

> The simplest way to address this is probably to advertise support via
> an agreed upon meta tag. e.g.
> <meta name="NavigatorSearchBoxSupport" content="true">
> The UA populates the API only if the page advertises support via the
> metatag. Otherwise, it works as it does today.

How would that work? The browser can only get that metadata by fetching the
search page. So the browser should fetch the search page when the user
starts typing in a search query, and if the page doesn't advertise "instant
search", the browser just throws that page away? If so, presumably you'd
want some kind of back-off to avoid lots of useless traffic.

"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20101015/0ed08556/attachment-0002.htm>

More information about the whatwg mailing list