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!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

تلاش سپورٹ

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.

مزید سیکھیں

I want to copy an image to the clipboard in firefox using firefox clipboard API

  • 2 جواب دیں
  • 32 میں یہ مسئلہ ہے
  • 10 دیکھیں
  • آخری جواب بذریعہ ashishfirefox

more options

I Want to copy an image to the clipboard using firefox clipboard API. Please let me know he steps

I Want to copy an image to the clipboard using firefox clipboard API. Please let me know he steps

تمام جوابات (2)

more options

Right-click the image and select Copy Image.

more options

Thanks for the reply, but I want to copy the IMAGE to the clipboard programmatically in javascript using firefox clipboard API.

For ex using the following syntax: var clip = Components.classes'@mozilla.org/widget/clipboard;1']

I am able to copy the text, but I don't know the syntax to copy the IMAGE.