Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

সহায়তা খুঁজুন

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 এই সমস্যাটি আছে
  • 1 দেখুন
  • শেষ জবাব দ্বারা 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

All Replies (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.