搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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.