Not able to access window.clipboard in unsecured websites.
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.
Wšykne wótegrona (3)
I don't think Firefox can start the computer's clipboard. Best to start it before starting the browser.
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