生成客户端访问的网页的缩略图

发布于 2024-08-09 17:43:57 字数 271 浏览 2 评论 0原文

我开发了一个扩展程序 - firefox,因此通过这个扩展程序,我可以跟踪用户访问的页面,现在我想做的是,当用户将鼠标悬停在链接上时,我希望能够弹出网页的缩略图。我已经使用第三方网站生成缩略图来完成此操作,例如 http://images.websnapr.com。我想知道我是否可以在客户端上完成此操作,而无需使用第三方网站。

有什么建议吗?

I developing an extension - firefox so with this extension i keep track of the pages the user visits and now what i want to do is, i want to be able to popup a thumbnail of the webpage when the user hovers the mouse over the link. i have done that using third party websites for generating thumbnials such as http://images.websnapr.com. I was wondering if there was anyway i could do it on clientside without having to use third party website.

Any suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

三生一梦 2024-08-16 17:43:57

您也可以只使用 Firefox 自己的画布。在这里查看示例:

http: //fixunix.com/mozilla/408090-firefox-page-capture-image-need-minor-tweaks-autochosen.html

You can also just use firefox's own canvas. Look here for an example :

http://fixunix.com/mozilla/408090-firefox-page-capture-image-need-minor-tweaks-autochosen.html

欲拥i 2024-08-16 17:43:57

我建议您查看 screengrab 扩展,它的作用如下:
https://addons.mozilla.org/en-US/firefox/addon/ 1146

(我认为它使用java作为底层)

i would recommend you to look at the screengrab extension, which does just that:
https://addons.mozilla.org/en-US/firefox/addon/1146

(i think it uses java as underlying layer)

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