Javascript to Copy to clipboard

Apparently you can use Javascript to copy to the system clipboard. Don’t know if this works on non-Windows systems, but certainly, Internet Explorer seems to support it.

I’m sure that there must be a security risk here – but I haven’t really thought about it yet. And certainly, it appears that Mozilla agree that there is a security issue as it works another way, as shown at Krikkit.net. In short, you have to sign your code or drop your security level…

Advertisements
Javascript to Copy to clipboard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s