Screencapture from the browser using Javascript?

前端 未结 2 2115
生来不讨喜
生来不讨喜 2021-01-20 05:56

I guess this is an odd one, and the answer is most likely it is not possible since it would represent a security breach; but I am looking for a way - if any - to get a scree

2条回答
  •  感动是毒
    2021-01-20 06:19

    If you don't need an actual screen shot, you can grab the innerHTML of your content and send it back to the server via Ajax, stash it somewhere and view it remotely.

提交回复
热议问题