Could somebody summarize what has changed since the last time where Peter was opposed to removing this API?
On Tue, Oct 13, 2015 at 8:10 AM Anne van Kesteren <ann...@annevk.nl> wrote:
File a bug against the HTML standard to get it removed there first?
On Tue, Oct 13, 2015 at 12:05 AM, Jochen Eisinger <joc...@chromium.org> wrote:Could somebody summarize what has changed since the last time where Peter was opposed to removing this API?It was agreed that we should measure usage and go through the formal removal process. This thread contains more info than the last:1) concrete explanation of differences to <link>2) overview of implementation status in other browsers3) promise of instrumentation
There was also investigation that discovered a number of bugs (albeit fixable) which demonstrate the maintenance cost and risk of maintaining the API. Thus I believe this conversation can move forward and we can agree on a course of action pending the outcome of the usage metrics.On Tue, Oct 13, 2015 at 8:10 AM Anne van Kesteren <ann...@annevk.nl> wrote:
File a bug against the HTML standard to get it removed there first?Can someone with more standards experience than myself answer if this is typical? It seems like something that could be done in parallel.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
On Tue, Oct 13, 2015 at 11:33 AM, Evan Stade <est...@chromium.org> wrote:On Tue, Oct 13, 2015 at 12:05 AM, Jochen Eisinger <joc...@chromium.org> wrote:Could somebody summarize what has changed since the last time where Peter was opposed to removing this API?It was agreed that we should measure usage and go through the formal removal process. This thread contains more info than the last:1) concrete explanation of differences to <link>2) overview of implementation status in other browsers3) promise of instrumentationI'd personally prefer to have that number before making a decision on deprecation - we want to avoid spammy deprecation warnings.I just did a quick httparchive search and found this API used on ~516 of the top 200k websites, including Google.com (and each geo variant of it). So perhaps the first step is at least understand the implication of the change on some of these sites. Does the user experience degrade at all? For google.com in particular (or other similarly major websites), we should probably engage with the site owners first about removing their usage of the API.
As Rick, I'm fine with deprecating, but we should only decide on removal when we have the numbers.I think we should also discuss how the UMA numbers should be interpreted, as a site that uses this API and depends on it might still only use it once per user.
So maybe measuring isSearchProviderInstalled() gives us better data?
As Rick, I'm fine with deprecating, but we should only decide on removal when we have the numbers.I think we should also discuss how the UMA numbers should be interpreted, as a site that uses this API and depends on it might still only use it once per user.So maybe measuring isSearchProviderInstalled() gives us better data?On Tue, Oct 13, 2015 at 6:38 PM Evan Stade <est...@chromium.org> wrote:On Tue, Oct 13, 2015 at 8:37 AM, Rick Byers <rby...@chromium.org> wrote:On Tue, Oct 13, 2015 at 11:33 AM, Evan Stade <est...@chromium.org> wrote:On Tue, Oct 13, 2015 at 12:05 AM, Jochen Eisinger <joc...@chromium.org> wrote:Could somebody summarize what has changed since the last time where Peter was opposed to removing this API?It was agreed that we should measure usage and go through the formal removal process. This thread contains more info than the last:1) concrete explanation of differences to <link>2) overview of implementation status in other browsers3) promise of instrumentationI'd personally prefer to have that number before making a decision on deprecation - we want to avoid spammy deprecation warnings.I just did a quick httparchive search and found this API used on ~516 of the top 200k websites, including Google.com (and each geo variant of it). So perhaps the first step is at least understand the implication of the change on some of these sites. Does the user experience degrade at all? For google.com in particular (or other similarly major websites), we should probably engage with the site owners first about removing their usage of the API.That data is a year old, and I expect the trend to be downwards: for example google.com doesn't appear to use it any more.
Plus, a lot of those uses don't actually work, if I'm interpreting the columns correctly. If the page and URL don't share the same domain, Chrome will ignore it. This is even part of the WhatWG spec:
"""The OpenSearch description document has to be on the same server as the script that calls this method."""Then there are some sites like animup.net which don't work for various other reasons (like calling the API from an onclick on <option>, which doesn't work). There are a few examples from that doc which do work: http://izlesem.org/, http://gegenteil-von.com/ etc. and these appear to be replaceable with <link rel="search">.I would like to instrument this feature with UseCounter, but that doesn't seem straightforward because of implementation details (it's a v8 extension, not part of core blink).
> And what about external.IsSearchProviderInstalled(url)? Why bother keeping it?Good question, I was going to add a use counter there too. IE has deprecated it as well, but it seems less clear that it's unused.
Is the counter mentioned above counting the number of installations of search providers, or the number of usages of providers installed via the AddSearchProvider API? It seems like the latter is more reflective of the value of the API. (I only install and configure my browser once, even if I use it 24/7).
> concrete explanation of differences to <link>
I think I missed that explanation; I saw "<link rel="search"> takes care of most use cases" but I don't understand how that maps to the end-user experience. Is there something about the link element that allows the user to know that a provider is available and install it, potentially setting options at that time?
I'm not sure about the methodology used for generating the list of affected sites, but I didn't see DuckDuckGo on the list, and they're still calling AddSearchProvider on their homepage.
A reference to the IsSearchProviderInstalled API is included in a script used on the Google homepage.
-Eric
So both ExternalIsSearchProviderInstalled and ExternalAddSearchProvider have exceedingly low usage according to chromestatus.com, and Chrome's UMA agrees. Safari, IE, Edge, and mobile Chrome already don't support this feature. Is there any more evidence we need to collect before making a decision?
Yep the use counters are low enough (~0.002%) that I'd support removal with the usual one milestone deprecation period (see UseCounter:countDeprecation). Especially since there's no support on mobile...
LGTM1
Sorry Eric, I missed that you had outstanding questions (my fault for trying to do this on my phone). Has any attempt been made to reach out to one of the users of this API? Anyone aware of requests to make it work on mobile?
I think if a page serves a result that includes a link rel=search in response to something we deem to be a search, we'll silently add a corresponding search engine entry.
Primary eng (and PM) emailsSummaryWe plan to remove support for window.external.AddSearchProviderMotivationWe think this feature doesn't get much usage and is largely redundant with <link rel="search">Compatibility RiskChrome: Desktop Chrome supports this feature but mobile (both Android and iOS) does notIE: This feature was supported in IE7-9 but deprecated in IE10+ and not present in Edge.FF: the feature has existed in firefox since FF2 and is still supported in FF41.Safari: no supportAlternative implementation suggestion for web developers<link rel="search"> takes care of most use cases. In Chrome's current implementation, <link> will only work for toplevel pages (e.g. example.com but not example.com/faq). It also permits just one search engine per domain (AddSearchProvider allows multiple search engines for the same domain with user consent).Usage information from UseCounterThis feature is not yet instrumented. I plan to add instrumentation shortly.OWP launch tracking bugEntry on the feature dashboardNone right now. Does this change merit outreach?Requesting approval to remove too?Yes
-- Evan Stade
In an enterprise environment, I'd recommend to use domain policies to configure search engines for a subset of your users.
Best
Jochen
I just read through this thread but it's not clear to me whether a solution is available to install a search provider as part of an extension. There's a reference to use cases not met by <link rel> but no discussion of this one particularly. I develop an extension for my company's internal resources and want to add search as one of the extension's benefits. I do not want to add search to all potential customers by putting this on our domain's top level page, and I don't want users who have already elected to install a company extension to take distinct action to install search providers on company computers.Would creating a dummy domain with <link rel="search"> on its index document be a suitable workaround, if called from an iframe in the extension's background page?
On Tue, Mar 15, 2016 at 11:56 AM, <d...@bikeshed.us> wrote:I just read through this thread but it's not clear to me whether a solution is available to install a search provider as part of an extension. There's a reference to use cases not met by <link rel> but no discussion of this one particularly. I develop an extension for my company's internal resources and want to add search as one of the extension's benefits. I do not want to add search to all potential customers by putting this on our domain's top level page, and I don't want users who have already elected to install a company extension to take distinct action to install search providers on company computers.Would creating a dummy domain with <link rel="search"> on its index document be a suitable workaround, if called from an iframe in the extension's background page?Perhaps I misunderstand the problem statement, but why can't you make the extension insert a <link> in your company's page?
I don't know the exact behavior you're after, but you might be better served by this extension API: https://developer.chrome.com/extensions/omnibox
Has something replaced the functionality of AddSearchProvider?
Bob
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
I have a web page that lists a number of medical browser search plugins (http://sumsearch.org/searchplugins/). Worked well on Chrome till recently through AddSearchProvider, still works in other browsers. Sounds like I need to convert to using Omnibox apps through the Chrome store.
Chrome automatically adds the search engine if you specified it in a <meta> (and maybe if you use it once, I do not remember) using an OpenSearch manifest.There is no JavaScript based API for explicitly adding a search engine, no.
☆PhistucKOn Tue, Oct 18, 2016 at 1:17 PM, <bob.b...@gmail.com> wrote:Has something replaced the functionality of AddSearchProvider?
Bob
On Friday, July 22, 2016 at 10:06:08 PM UTC-5, Daniel Cheng wrote:Yes, there's actually an open bug on me to move it into Blink. At the time, I suspended work on it because we thought it was going away completely. Since it looks like it's staying around, I'll just move it over.DanielOn Sat, Jul 23, 2016 at 10:25 AM John Abd-El-Malek <j...@chromium.org> wrote:That sounds good. I have a local change where I made IsSearchProviderInstalled return 2 like IE. I could also add a no-op AddSearchProvider.One thing that's odd is this code is currently in chrome/renderer. Seems like this should move to blink right?On Fri, Jul 22, 2016 at 5:49 PM, Philip Jägenstedt <foo...@chromium.org> wrote:Hmm, it looks like spec and implementation moved in different directions here. external.AddSearchProvider() went away in M52, which is now reaching stable.How about just going with the spec, adding back AddSearchProvider() but as a no-op alongside a no-op IsSearchProviderInstalled()?On Fri, Jul 22, 2016 at 2:54 PM Domenic Denicola <d...@domenic.me> wrote:From: j...@google.com [mailto:j...@google.com] On Behalf Of John Abd-El-Malek
> Given that AddSearchProvider is gone, and IsSearchProviderInstalled's usage is below 0.03, can the latter be removed as well as was discussed in this thread (but no decision reached from what I can tell)?
FWIW they are both no-ops in the spec now. https://html.spec.whatwg.org/multipage/obsolete.html#external with discussion at https://github.com/whatwg/html/issues/713 and https://github.com/whatwg/html/pull/1108.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
On Tue, Oct 18, 2016 at 4:09 AM PhistucK <phis...@gmail.com> wrote:Chrome automatically adds the search engine if you specified it in a <meta> (and maybe if you use it once, I do not remember) using an OpenSearch manifest.There is no JavaScript based API for explicitly adding a search engine, no.Any chance you mean <link>, not <meta>?(I'm hoping to add overdue security requirements to Chrome's OpenSearch support, and want to make sure there aren't things I don't know about.)
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.