12

Our company has an internal website that I am trying to add Chrome Omnibox support for via OpenSearch. The site is built with ASP.NET MVC 5. I have added the following line to the <head> tag of my layout page:
<link rel="search" type="application/opensearchdescription+xml" title="ABC" href="/abcopensearch.xml" />

Here is my xml document which lives at the root level and is named abcopensearch.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<OpenSearchDescription xmlns:moz="http://www.mozilla.org/2006/browser/search/" xmlns="http://a9.com/-/spec/opensearch/1.1/">
  <ShortName>ABC</ShortName>
  <Description>Find all your assets</Description>
  <Url type="text/html" method="get" template="https://www.abcstaff.com/Abc?q={searchTerms}"/>
  <InputEncoding>UTF-8</InputEncoding>
</OpenSearchDescription>

What am I missing? Did Chrome remove the ability to automatically add search engines? I've restarted Chrome several times.

Airn5475
  • 2,452
  • 29
  • 51
  • https://www.chromium.org/tab-to-search https://stackoverflow.com/questions/8650377/opensearch-description-document-discovery-and-chrome – Josh Lee May 31 '19 at 20:28
  • Thanks, I had seen that article, which is fairly old in Chrome years. Since none of their ideas of worked, I was wondering if Chrome had changed it's policies. – Airn5475 Jun 04 '19 at 12:38
  • Does https://www.abcstaff.com/Abc?q={searchTerms} actually return any search terms results? – Null Jun 25 '19 at 18:41

1 Answers1

3

Google Chrome no longer supports the autodiscovery of site specific search

@googlechrome twitter account:
We made it so new Site search shortcuts are no longer automatically added to the Chrome search bar. We did this to help avoid cluttering it with Site search suggestions that people may not be using.

John
  • 9,249
  • 5
  • 44
  • 76
  • 1
    Personally, I think they did this because site specific search made it easier for users to bypass using Google Search. Without site specific search, users probably end up using Google Search more (assuming the have Google Chrome's omnibar configured to use Google Search). – John Jun 26 '23 at 18:33