Riff / Built on the open web / Interface
Clipboard
Copies the link where there is no share sheet.

How Riff uses it
When the browser has no share sheet, the Share chip writes the post's URL to the clipboard and shows a Copied message in the status toast for 2.5 seconds. Any error is caught and nothing is reported.
Why
Desktop browsers mostly lack navigator.share, so copying is the only thing the chip can do there.
Without it
A failing write is caught and the toast does not appear.
Where
- plugins/riff/assets/riff.js, line 1132
await navigator.clipboard.writeText( url );
Links open the source at the commit this page was published from.
Reference: Clipboard on MDN.