制作网页的打印屏幕并下载图像

发布于 2024-10-06 01:46:08 字数 107 浏览 0 评论 0原文

我正在寻找一个脚本,可以打印网页屏幕并将图像下载到客户端计算机。关键是它确实用户友好,因为用户不必按下按钮(打印屏幕)并将其粘贴到某些图像编辑器程序中。这可能吗?

非常感谢你的帮助..

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

情栀口红 2024-10-13 01:46:08

使用 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

铁憨憨 2024-10-13 01:46:08

如果您使用 Firefox,您可能会考虑使用许多插件 - 例如 Fireshot?我希望这有帮助

There are a number of plugins that you might consider if you use firefox - Fireshot for instance? I hope this helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文