Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

Not able to access window.clipboard in unsecured websites.

  • 3 yanıt
  • 1 kişi bu sorunu yaşıyor
  • 10 gösterim
  • Son yanıtı yazan: cor-el

more options

Hello,

can you please suggest me how to enable window.clipboard in unsecured web pages, currently i have a project where i need to copy selected text and paste it in somewhere. So am using document.execCommand("copy"); but am not able to find window.clipboard in developer tool. So not able to copy the things to clipboard. Or suggest how can I enable it using javascript.

Hello, can you please suggest me how to enable window.clipboard in unsecured web pages, currently i have a project where i need to copy selected text and paste it in somewhere. So am using document.execCommand("copy"); but am not able to find window.clipboard in developer tool. So not able to copy the things to clipboard. Or suggest how can I enable it using javascript.

Tüm Yanıtlar (3)

more options

I don't think Firefox can start the computer's clipboard. Best to start it before starting the browser.

more options

I don't think the Developer Tools panel has a section for the clipboard. What we can say is to check MDN:

https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/Interact_with_the_clipboard

Also, if relevant: Where to go for developer support

more options