You are not logged in.
The Siduction forums have a feature where a link is generated to copy code (text within the code tag). Clicking the link copies the code to your clipboard. I think that would be a nice feature, if possible, for the forums here.
Offline
Like on the scrot.moe site the "Copy" buttons? Yes, that's a useful feature indeed. Instead of select -> click -> copy just press the button...
Offline
a. Doesn't seem to require tons of code
https://codepen.io/shaikmaqsood/pen/XmydxJ
(But I haven't dig deep)
b. ff extension (right click to get menu / select copy to clipboard < skips selecting anything), also mentions single-click, but could not get that to work.
https://addons.mozilla.org/en-US/firefo … e/?src=api
Last edited by brontosaurusrex (2017-08-21 09:48:33)
Offline
Clicking the link copies the code to your clipboard. I think that would be a nice feature, if possible, for the forums here.
Triple-clicking on a code box copies the text to the PRIMARY buffer, a middle-click will then paste the text, even into an xterm or urxvt window 8)
We don't need no stinkin' CLIPBOARD... 8o
Last edited by Head_on_a_Stick (2017-08-21 14:59:57)
Offline
a) Wayland
Works for me™ in my GNOME desktop under Wayland
and b) OtherOS (Windows, OSX, QubesOS, ...).
People should use proper operating systems, that's not an unreasonable request 8o
Offline
adding a button means pain and layout changes.
Maybe ondblclick (It won't require any visual changes then)? I don't think a single-click-copy-to-clipboard is something user would expect to happen.
Last edited by brontosaurusrex (2017-08-21 15:34:01)
Offline
Like on the scrot.moe site the "Copy" buttons? Yes, that's a useful feature indeed. Instead of select -> click -> copy just press the button...
Yes, similar functionality. Copy buttons also used on the Postimage site.
Offline