본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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