Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

javascript copy to clipboard

  • 2 përgjigje
  • 1 e ka hasur këtë problem
  • 1 parje
  • Përgjigjja më e re nga 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.

Krejt Përgjigjet (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