NodeBB Click to Copy plugin
-
Click to Copy a trick that is only possible with Flash, and it's also a security vulnerability. I'd rather not add it all, but I will consider making it a toggleable option from the settings page, with a sufficient warning.
-
Doesn't GitHub have something like this? I'm pretty sure that it's not flash...
-
It's flash unfortunately.
https://github.com/zeroclipboard/zeroclipboard -
I'm not so sure, or someone has figured out how to do it without flash on Chrome... I disabled flash and it still works. Checked the demo page to verify that it doesn't work with flash off.
-
Ah, your right. Seems there was a recently added method to copy, and it looks like it's been universally supported since a few months ago. zeroclipboard is only being used as a fall-back. I'll have to start adding this to my plugins, there's quite a few places it will be useful.