Take Screenshot of Browser via JavaScript (or something else)

前端 未结 15 1945
天命终不由人
天命终不由人 2020-12-15 04:43

For support reasons I want to be able for a user to take a screenshot of the current browser window as easy as possible and send it over to the server.

Any (crazy)

15条回答
  •  旧巷少年郎
    2020-12-15 05:27

    Please see the answer shared here for a relatively successful implementation of this: https://stackoverflow.com/a/6678156/291640

    Utilizing: https://github.com/niklasvh/html2canvas

提交回复
热议问题