0

I'm trying to use ZeroClipboard for my project, however it seems the samples provided are mostly about "Copy to" clipboard, what is I need the other way around "Copy from" method.

Anyone can share some code ideas on how to implement this?

Code:

public static native String getPastedText()/*-{
    var clip = new $wnd.ZeroClipboard.Client();

}-*/;
4

1 回答 1

1

您不能仅使用默认浏览器安装来执行此操作。这确实是一个安全要求。

如果这是可能的,您能想象仅使用 javascript 可以窃取多少数据吗?

于 2014-05-24T00:43:16.967 回答