Open
Description
Summary
On https://www.rust-lang.org/tools/install I'd like to have "Copy to Clipboard" button on the install code.
Motivation
While copy and paste is still possible without the button, I think putting "Copy to Clipboard" button makes it even easier to prevent mistakes.
Drawbacks
We need some amount of JavaScript.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Interact_with_the_clipboard
Rationale and alternatives
Maintenance
Only a few lines of JavaScript should not be hard to maintain, but some browsers might not support it yet.
Unresolved Questions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment