Hello Clojars team,
The Copy button isn't functioning correctly on Brave browser (v 1.44.101)
It works well on Safari & Firefox. Haven't tested Google Chrome as I don't have it installed.
Can you look in the console and see if you get an error?
In Brave, I see: > Uncaught (in promise) DOMException: The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://goo.gl/EuHzyv for more details. But that url just talks about permissions in cross-origin iframes, and clojars uses no iframes. I don't have Chrome installed either to test with that.
Ah, it may be related to our Permissions-Policy header. Checking on that now.
That was it. It should be fixed now. The fix was https://github.com/clojars/clojars-web/commit/a30f66269936da2fd48fbd70779221234b1cbc92
It's working now. Thanks Toby 😄
My pleasure! Thanks for the report.