搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

javascript copy to clipboard

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Hi,

   I want to implement "copy to clipboard" functionality,but functionality this dose not work because of some security risks. Is there any way to copy data to clipboard using ExtJs? Or any plug-in which might help.
   Thanks for your help in advance.
Hi, I want to implement "copy to clipboard" functionality,but functionality this dose not work because of some security risks. Is there any way to copy data to clipboard using ExtJs? Or any plug-in which might help. Thanks for your help in advance.

所有回复 (2)

more options

You probably can use Flash or Java, but why do you need to copy data to the clipboard? Can you display a message to the user advising them to copy it themselves?

more options

See also:

  • Bug 1012662 - implement click-to-copy and click-to-cut permissions (semi-trusted events)
  • Bug 1013165 - Add "allow clipboard access" preference to Page Info > permissions