The existing copy functionality that creates a copy button and handles onclick copy to clipboard does not work as intended (checked on multiple browsers).
I'm not sure exactly what doesn't work (though there's old crud there e.g. flash code). Might be a good idea to move to newer clipboard APIs e.g. Clipboard.write()
The existing copy functionality that creates a copy button and handles onclick copy to clipboard does not work as intended (checked on multiple browsers).
https://github.com/cygri/prefix.cc/blob/cbc85c00e59e00cf4fee697374109fdd9027231a/script.js#L82
I'm not sure exactly what doesn't work (though there's old crud there e.g. flash code). Might be a good idea to move to newer clipboard APIs e.g.
Clipboard.write()