Thanks for testing. I implemented it just like the second answer in your SO link suggests.
I did some testing myself, for me it works with:
- Firefox 43
- Chrome 47
- IE 9, 10, 11
In all of those IE versions this confirmation is displayed when clicking on the post number for the first time:
After accepting this once, I'm able to copy all day long. What's strange is that there doesn't seem to be a way to detect when the user clicked on No. There's no exception thrown and the
execCommand('copy') call returns
I'm wondering, which browser and version are you using?
Theriddler1 wrote:Maybe much nicer if possible to show some message (ajax) that is has been copied with success
This should already be the case:
Theriddler1 wrote:When you click on the number the page reloads.
At the moment this only happens if copying failed. I will try to get that fixed.