Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

javascript copy to clipboard

  • 2 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av 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.

Alla svar (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