Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

javascript copy to clipboard

  • 2 fhreagra
  • 1 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó 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.

All Replies (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