Closed zeroxia closed 1 year ago
I found on stackoverflow there is a question might be related:
this is due to not using HTTPS. According to MDN Clipboard docs: "This feature is available only in secure contexts". The best option would be to just use HTTPS.
Is there any workaround? I'm only sharing the documentation within company LAN, setting up HTTPS seems overkill.
As you already stated correctly, this is a restriction enforced by the browser. As a user of the API one has no influence on this. So I don't think there is a workaround other than serving the documentation over https.
Closing this issue because this is not a bug, but rather a restriction enforced by browsers.
Hi,
I enabled the fragment copy extension in the Doxygen.
When viewing it as
http://127.0.0.1:8080/
, the code copy works OK.When I put the HTML to a remote HTTP server, and view it like
http://30.88.88.88
, then the copy button is not available.How to fix this?
Thanks.