You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 10, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 10, 2024. It is now read-only.
I tried adding a copy to the clipboard button but due to the iframe setup, it looks like it's not possible to use the Clipboard API as we get a DOMException: The Clipboard API has been blocked because of a permissions policy applied to the current document.. The iframe allow attribute is currently set to camera;microphone;xr-spatial-tracking. Is there any plan / thoughts regarding adding at least clipboard-write (clipboard-read may be too much) to the list of allowed permissions? (ref: https://web.dev/async-clipboard/#permissions-policy-integration - cross-origin syntax: https://stackoverflow.com/a/69741484/1945960)
Activity
Hacksore commentedon Mar 23, 2023
Started copying what @HiDeoo is doing but for package managers.
Sadly you need the
clipboard-writeon the iframe, are security considerations the blocker here atm?