https://github.com/w3c/web-share
Web API proposal for sharing data from a web page
https://github.com/w3c/web-share
Last synced: 9 months ago
JSON representation
Web API proposal for sharing data from a web page
- Host: GitHub
- URL: https://github.com/w3c/web-share
- Owner: w3c
- License: other
- Created: 2016-06-08T05:11:24.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-06-06T20:28:21.000Z (over 1 year ago)
- Last Synced: 2025-03-29T22:05:50.461Z (10 months ago)
- Language: HTML
- Homepage: https://www.w3.org/TR/web-share/
- Size: 799 KB
- Stars: 358
- Watchers: 79
- Forks: 66
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Security: docs/security-privacy-self-review.md
Awesome Lists containing this project
- awesome-list - web-share
README
# Web Share API
**[Web Share](https://w3c.github.io/web-share/)** is a Web platform API for sharing text, URLs and images to an
arbitrary destination of the user's choice:
```js
navigator.share({title: 'Example Page', url: 'https://example.com'});
```
## Implementation status
The API is shipping in [numerous browsers](https://caniuse.com/web-share).
## Links
* [Explainer document](docs/explainer.md), a high-level overview of the proposal.
* [Specification](https://w3c.github.io/web-share/).
* [Native integration survey](docs/native.md), for platform-specific matters.
* [Web platform
tests](https://github.com/web-platform-tests/wpt/tree/master/web-share), for
automatic and manual testing against an implementation.
This is a product of the [Ballista
project](https://github.com/chromium/ballista), which aims to explore
website-to-website and website-to-native interoperability.
## Licensing and contributions
See [LICENSE](LICENSE.md) and [CONTRIBUTING](CONTRIBUTING.md).