D
D
Dmitry Bykadorov2011-08-08 20:53:11
JavaScript
Dmitry Bykadorov, 2011-08-08 20:53:11

Working with Clipboard via JavaScript?

There was a need the other day to implement copying of text to the clipboard on the page. From what I found promising - ZeroClipboard (and jQuery plugin based on it - ZClip). The project seems to be quite suitable, except for the fact that its normal operation has not yet been established. Examples from the documentation stupidly inserted into the page work, but if I try to adapt them to work with the application, they fail. Perhaps the problem is that in the general case there will be more than one area for copying. Well, in all sorts of chrome-safari, too, a solid rake.
Actually the question is: what else can you try to work with a clipboard?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
giggigi, 2011-08-08
@gigigi

flash

A
andruxin, 2011-08-08
@andruxin

hence
Zero Clipboard does NOT work from a local drive, this limitation is due to the security of Adobe Flash Player itself when using the Flash Player to JavaScript bridge. Simply put, the address should start with http:// or https://.
fulfill the condition?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question