w3c / web-share-target

Web API proposal for receiving shared data
https://w3c.github.io/web-share-target/
Other
191 stars 20 forks source link

Chromeless share target #51

Closed johnbillion closed 6 years ago

johnbillion commented 6 years ago

Has there been any discussion around the possibility of a share target which does not trigger a browser tab to be opened in order to complete the share?

For example, given a bookmarking or read-it-later service which saves the shared URL with no requirement to prompt the user for further interaction, it's not desirable to open a new browser tab which requires the user to subsequently close it.

It would be great if a web app could register itself as a chromeless share handler, which receives the share data via a hidden HTTP request from the browser and returns a JSON response which is used to populate a toast-style success or error message in the host OS.

johnbillion commented 6 years ago

Apologies, this is covered in #39.