Capturing a desktop screenshot with javascript

2019-06-20 14:50发布

Is it possible to capture a screenshot of the client's windows desktop using javascript? What about in linux and mac OS?

Clarification

This question has not been asked or answered, because I'm looking to capture the entire desktop, not just the browser. I would also like to capture 'native' screenshot rather than one that is recreated from some underlying representation (which would be impossible on any OS).

1条回答
淡お忘
2楼-- · 2019-06-20 15:45

Exist a plugin that you can configure the image that you want to take or part of element of your DOM like the body or a particular div.

Plugin is: HTML2CANVAS

查看更多
登录 后发表回答