Files
Modernizr/feature-detects/web-intents.js
Markel F d31f4a000d Solve some polyfill link issues (#2576)
* Delete broken links, fix redirects

* Removed 2 dead repositories

* Replace github http links with https

* Upgrade to https

* Solve metadata errors

* Restore css3pie
2020-06-24 21:35:36 +02:00

22 lines
868 B
JavaScript

/*!
{
"name": "Web Intents",
"property": "webintents",
"authors": ["Eric Bidelman"],
"notes": [{
"name": "Web Intents project site",
"href": "http://www.webintents.org/"
}],
"builderAliases": ["web_intents"]
}
!*/
/* DOC
Detects native support for the Web Intents APIs for service discovery and inter-application communication.
Chrome added support for this in v19, but [removed it again in v24](https://lists.w3.org/Archives/Public/public-web-intents/2012Nov/0000.html) because of "a number of areas for
development in both the API and specific user experience in Chrome". No other browsers currently support it, however a [JavaScript shim](http://www.webintents.org/#javascriptshim) is available.
*/
define(['Modernizr', 'prefixed'], function(Modernizr, prefixed) {
Modernizr.addTest('webintents', !!prefixed('startActivity', navigator));
});