Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

javascript copy to clipboard

  • 2 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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.

Toutes les réponses (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