-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for deep integrations, e.g. OpenSearch #421
Comments
Do any browsers currently provide special/customized UI for the meta tag equiv.? I'm not familiar with this OpenSearch stuff. |
Chromium (and Chrome) let you tab to search, and rely on OpenSearch to discover the URL to do this. https://www.chromium.org/tab-to-search
|
I can't seem to get it to work in Chrome :( I tried going to Vimeo and typing vimeo in the omnibox, but it offers me no tab completion? can you help me get it working? |
This seems to work for me:
** Not strictly required, but seeks to illustrate that the user agent doesn't need the site to be active to show the tab-to-search UI. |
Argh! 😞 for me pressing tab just seems to move down the list of options in the omnibox (trying on both Chrome stable and Chrome Canary on Mac). Ok, but let's assume that it works. I need to check what Mozilla's plans are with regards to the OpenSearch stuff and if we plan to support it (i.e., the More of a concern for me is that this feature would put a requirement for the manifest to be downloaded on page load (possibly with a degree of priority, as presumably you want to make the search for a site available as early as possible - which |
I think Firefox has supported OpenSearch link relations for years, but not with the same behaviour. I'm not sure what the current UI in desktop Firefox is though (if any) and it may currently be broken in Firefox for Android due to a bug... https://bugzilla.mozilla.org/show_bug.cgi?id=1225842 FWIW it could feasibly make sense to put OpenSearch metadata in the manifest given it tends to apply to a whole website, not just a single page. But as I understand it OpenSearch is already described by an XML description document linked from a rel=search link relation, not individual meta tags in the page? |
That would be an optimization over the status quo, but likely not a requirement. Any user interaction with the omnibox (or other search-specific UI) would happen after the page has loaded. The chief advantage of this is that on subsequent visits, the user agent will already have cached the manifest & OpenSearch URL.
Agreed. Depends on how we define “install”. If we expand the definition to include “installing” a search provider, then this will need to happen at page load time (async, of course.) The primary advantage will be consolidating all these individual resource definition XML files into a single coherent standard. There is no reason OpenSearch needs to stay a separate downloadable XML file if there’s already a manifest with a larger purpose being downloaded. |
Marking as V2 feature. We will need to lobby the browser vendors to get behind this. However, I would like us to wait until after V1 has shipped as this is not high priority for anyone right now. |
Closing as there hasn't been any interest expressed in this by implementers in the last few years. |
Seeing as all major browsers have implemented OpenSearch, and actively maintain them from what I can tell through responses in bug reports, I'm curious if that still holds true. Because most browser do have a "tab-to-search"-feature, they must think it's something useful, however undoubtedly a lot of websites do not implement their own search functionality and so inspired by this article, I have proposed OpenSearch to allow for developers to utilize the users preferred search engine to perform searches instead of directly on-site. But I think this is a better place to raise my interest for the proposed feature. As an aside (and perhaps I'll need to take this up with implementors directly), as the proposed feature builds on the ability that websites can use cross-origin URL templates, I can on a personal blog for example, let Google handle searches like so: Is it reasonable to worry that an attacker might inject an OpenSearch Description to instead reference an end-point of malicious intent? If this was implemented then the Manifest spec could perhaps restrict URL end-points to same-origin, or however you'd approach it (CSP?). |
@Malvoz, sorry, I was not clear... we've not seen any interest in enabling OpenSearch via web manifest - that's not to say there is no interest in OpenSearch. Sorry for the confusion.
I would be really supportive of this - and I think you make a compelling case. I'm not sure who to ping at Mozilla about this. However, I'd encourage you to propose this to the WICG and cc me there. If you know of implementers you could pitch this idea too, that would be really helpful. |
Listing deep integration endpoints in the manifest could allow user-agents to offer customized UI for specific actions. E.g. OpenSearch defines a URL syntax for search results based on query terms provided by the user.
Instead of requiring individual
<meta>
tags for all these, a single manifest could house all such endpoints.Strawman format:
The text was updated successfully, but these errors were encountered: