W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2010

[whatwg] SearchBox API

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 15 Oct 2010 17:23:21 +1300
Message-ID: <AANLkTi=wkzkRVPf1L54aVeyJTQU2KJiYcO26x7y_i7MX@mail.gmail.com>
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.htm>
Received on Thursday, 14 October 2010 21:23:21 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:27 UTC