当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Not able to access window.clipboard in unsecured websites.

  • 3 件の返信
  • 1 人がこの問題に困っています
  • 10 回表示
  • 最後の返信者: 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.

すべての返信 (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