web-share directive controls whether the current document is allowed to use the
Navigator.share() method of the Web Share API to share text, links, images, and other content to arbitrary destinations of the user's choice.
Feature-Policy: web-share <allowlist>;
- A list of origins for which the feature is allowed. See
The default value is
|Web Share API |
BCD tables only load in the browser
Browser implementation is being discussed in https://github.com/w3c/web-share/issues/169.