惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Full Disclosure
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
The GitHub Blog
The GitHub Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Recorded Future
Recorded Future
Y
Y Combinator Blog
Cloudbric
Cloudbric
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Schneier on Security
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
Cybersecurity and Infrastructure Security Agency CISA
TaoSecurity Blog
TaoSecurity Blog
Security Latest
Security Latest
N
News and Events Feed by Topic
Hacker News - Newest:
Hacker News - Newest: "LLM"
D
DataBreaches.Net
Security Archives - TechRepublic
Security Archives - TechRepublic
H
Hacker News: Front Page
C
Cisco Blogs
L
LangChain Blog
aimingoo的专栏
aimingoo的专栏
Recent Commits to openclaw:main
Recent Commits to openclaw:main
V
Vulnerabilities – Threatpost
L
LINUX DO - 最新话题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Google Online Security Blog
Google Online Security Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
A
About on SuperTechFans
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Jina AI
Jina AI
C
CXSECURITY Database RSS Feed - CXSecurity.com
Schneier on Security
Schneier on Security
T
Tenable Blog
N
News and Events Feed by Topic
W
WeLiveSecurity
有赞技术团队
有赞技术团队
AI
AI
爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
Latest news
Latest news
T
The Blog of Author Tim Ferriss
S
Security Affairs
Know Your Adversary
Know Your Adversary
Simon Willison's Weblog
Simon Willison's Weblog
G
GRAHAM CLULEY
Google DeepMind News
Google DeepMind News
The Cloudflare Blog

Recent Commits to web-share-target:main

Refactor: remove WebIDL (#106) · w3c/web-share-target@72dd80f Possibility of transferring user id (#100) · w3c/web-share-target@0782f1a chore: use group option in config · w3c/web-share-target@fadadfb chore: use main branch in config · w3c/web-share-target@a7a06ec Editorial: reference Encoding's 'UTF-8' directly (#96) · w3c/web-share-target@a703396 chore: migrate to WebApps WG (#95) · w3c/web-share-target@6025309 Accessibility considerations (#88) · w3c/web-share-target@93bf095 editorial: link to urlencoded serializer (#92) · w3c/web-share-target@a8d4a5d chore: cleanup some ReSpec usage (#91) · w3c/web-share-target@b27e5a8 Update w3c.json · w3c/web-share-target@41b27b5 Long share requests may truncate with GET (#82) · w3c/web-share-target@dd4e83f Encourage redirect after POST (#80) · w3c/web-share-target@0d9d25f Remove 'early draft' wording (#79) · w3c/web-share-target@fc831cb Skip bad files entries and make accept required (#78) · w3c/web-share-target@83a63b0 Validate enctype when method is GET (#72) · w3c/web-share-target@4078bc4 Support file sharing (#53) · w3c/web-share-target@76eabad [web-share-target] Introduce Level 2 Spec (#71) · w3c/web-share-target@a5f4eb2 Potentially trustworthy origins (#69) · w3c/web-share-target@b3c4d76 Retire links to Interface document (#62) · w3c/web-share-target@5279a5a
Mention plan for sharing files (#65) · w3c/web-share-target@3fccfd1
ewilligers · 2018-08-23 · via Recent Commits to web-share-target:main

This repository was archived by the owner on Jun 30, 2026. It is now read-only.

File tree

Original file line numberDiff line numberDiff line change

@@ -8,7 +8,7 @@ shared data from other sites or apps. Many modern operating systems have a

88

The goal is to allow web apps to appear in the UI for picking an app to share

99

to.

1010
11-

In combination with the [Web Share API](https://github.com/mgiuca/web-share)

11+

In combination with the [Web Share API](https://github.com/WICG/web-share)

1212

(being proposed in parallel), this would allow cross-sharing between websites on

1313

any platform (even those without a native sharing system).

1414

@@ -56,7 +56,7 @@ underlying system, as explored in the next section.

5656

### Sharing from web to web on mobile

5757
5858

Here we see the interaction between the [Web Share

59-

API](https://github.com/mgiuca/web-share) and the Share Target API. You could

59+

API](https://github.com/WICG/web-share) and the Share Target API. You could

6060

also share from a native app (depending on the system).

6161
6262

![Share on mobile: web to web](mocks/share_mobile_web_web.png)

@@ -96,6 +96,10 @@ At least on Android, the web apps will be badged with the browser's icon.

9696

For more technical details on integrating with native apps, see [Native

9797

Integration Story](native.md).

9898
99+

Users may wish to share photos and other files, not just links. We aim

100+

to support this in the future, with web share targets able to specify

101+

in their manifests which MIME types they accept.

102+
99103

## Sample code

100104
101105

Here's how to register a website to appear in the list of apps that can handle a

@@ -161,11 +165,11 @@ native apps.

161165

### Why not use registerProtocolHandler?

162166
163167

This is discussed at length in the [Web Share

164-

Explainer](https://github.com/mgiuca/web-share/blob/master/docs/explainer.md),

165-

and depends on the outcome of that decision. If we use a URI scheme for Share

166-

(instead of an API), then it would make sense to use the existing

168+

Explainer](https://github.com/WICG/web-share/blob/master/docs/explainer.md#user-content-why-not-make-a-share-uri-scheme-like-mailto-instead-of-a-javascript-api).

169+

If we used a URI scheme for Share (instead of an API), then it would make sense

170+

to use the existing

167171

[registerProtocolHandler](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler)

168172

API to let websites receive shares.

169173
170174

However, there are a number of downsides to this approach, discussed in the

171-

other document. This is an open question.

175+

other document.

Original file line numberDiff line numberDiff line change

@@ -6,7 +6,7 @@ This document is an informal and incomplete survey of various operating systems'

66

share systems, for exploring how a user agent might automatically map the [Share

77

Target API](explainer.md) into the native system. See also: [Share API Native

88

Integration

9-

Survey](https://github.com/mgiuca/web-share/blob/master/docs/native.md).

9+

Survey](https://github.com/WICG/web-share/blob/master/docs/native.md).

1010
1111

*Note:* I (mgiuca@chromium.org) am not very familiar with these details. I

1212

gathered this information from reading the online documentation and

@@ -69,7 +69,7 @@ APIs. I would appreciate being informed of any errors.

6969

## Summary

7070
7171

Unlike the web-to-native sharing (in the [Share

72-

API](https://github.com/mgiuca/web-share), which is generally pretty

72+

API](https://github.com/WICG/web-share), which is generally pretty

7373

straightforward to route into a system share, native-to-web is usually hard or

7474

impossible for one reason: operating systems don't like letting one application

7575

dynamically register multiple handlers for things (with the notable exception of

@@ -81,4 +81,4 @@ On these platforms, implementations have two non-ideal options:

8181

1. Declare the browser itself as a system share target, then have users pick the

8282

browser, and display a sub-picker within the browser for web apps, or

8383

2. Only support web-to-web sharing (showing a picker within the browser when a

84-

website uses the [Share API](https://github.com/mgiuca/web-share)).

84+

website uses the [Share API](https://github.com/WICG/web-share)).