使用HTML5 / Canvas / JavaScript拍摄浏览器内屏幕截图

时光总嘲笑我的痴心妄想 提交于 2020-07-24 05:24:13

问题:

Google's "Report a Bug" or "Feedback Tool" lets you select an area of your browser window to create a screenshot that is submitted with your feedback about a bug. 利用Google的“报告错误”或“反馈工具”,您可以选择浏览器窗口的区域来创建屏幕截图,并在屏幕上提交有关错误的反馈。

Google反馈工具截图Screenshot by Jason Small, posted in a duplicate question . Jason Small的屏幕截图,张贴在一个重复的问题中

How are they doing this? 他们是如何做到的? Google's JavaScript feedback API is loaded from here and their overview of the feedback module will demonstrate the screenshot capability. Google的JavaScript反馈API从此处加载, 它们对反馈模块的概述将演示屏幕截图功能。


解决方案:

参考一: https://stackoom.com/question/KbrI/使用HTML-Canvas-JavaScript拍摄浏览器内屏幕截图
参考二: https://oldbug.net/q/KbrI/Using-HTML5-Canvas-JavaScript-to-take-in-browser-screenshots
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!