制作网页的打印屏幕并下载图像
我正在寻找一个脚本,可以打印网页屏幕并将图像下载到客户端计算机。关键是它确实用户友好,因为用户不必按下按钮(打印屏幕)并将其粘贴到某些图像编辑器程序中。这可能吗?
非常感谢你的帮助..
i'm looking for a script that would take a print screen of a web page and download image to clients computer. the point is that its really user friendly, because user doesn't have to push the button (print screen) and paste it to some image editor program. Is this even possible?
thank you very much for your help..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 JavaScript 不可能制作实际网站的屏幕截图。
您可以做的是使用 http://www.thumbalizr.com/ 或浏览器截图或其他任何服务。但它不会是即时的,也不会反映用户在屏幕上的实际内容。
PS:thumalizr有一个API
its not possible with JavaScript to make a screenshot of the actual site.
What you could do is useing a service like http://www.thumbalizr.com/ or browsershots or whaterver. But it would not be instant and it would not reflect the actual content the the user has on the screen.
PS: thumbalizr has an API
如果您使用 Firefox,您可能会考虑使用许多插件 - 例如 Fireshot?我希望这有帮助
There are a number of plugins that you might consider if you use firefox - Fireshot for instance? I hope this helps