cancel
Showing results for 
Search instead for 
Did you mean: 

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

Highlighted
New Contributor

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

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

2 REPLIES
Support Forum Moderator

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

Right-click the image and select Copy Image.

New Contributor

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

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.