百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
H

html2canvas

> 编程语言
开源

带 JavaScript 的截图

31.9K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

带 JavaScript 的截图

html2canvas =========== 主页 QQ下载 QQ问题 JavaScript HTML 渲染器 QQ 脚本允许您直接从用户浏览器上取取网页或部分内容的"截图". 截图基于DOM,因此可能不能100%准确到真实的表示,因为它没有做出实际的截图,而是根据页面上的信息来构建截图. 怎么会这样? QQ 脚本通过读取 DOM 和应用于元素的不同样式,使当前页面成为画布图像. 它不需要服务器的任何渲染,因为整个图像是在客户端的浏览器上创建的. 然而,由于其严重依赖浏览器,这个库不适合用于节点. 它也没有神奇地绕过任何浏览器内容政策限制,因此渲染跨源内容需要代理g

GitHub Issues· 1054 开放

在 GitHub 查看全部
  • #1879

    cors 跨域 image不显示

    更新于 2026年9月16日
  • #3283

    Introducing DOMRander — A DOM to Canvas renderer focused on RTL and Persian/Arabic text

    更新于 2026年9月9日
  • #3279

    Tailwinds uppercase is making the word-wrap during html2canvas export as png or others

    更新于 2026年8月21日
  • #2406

    Backdrop Filter (Blur) not showing up in the output

    更新于 2026年7月19日
  • #2033

    Rowspan render gets overriden by `<tr>` background.

    Bug更新于 2026年7月5日
  • #3278

    Support for CSS Color Level 4 lab() and other modern color functions

    更新于 2026年6月24日
  • #2929

    ERROR Error: Uncaught (in promise): Unable to find element in cloned iframe

    更新于 2026年6月23日
  • #2775

    Texts are shifted down

    更新于 2026年6月3日
  • #3282

    Untrusted impersonation of the project at html2canvas.org

    更新于 2026年5月31日
  • #3280

    New Library for HTML Screenshots (completely different aproach)

    更新于 2026年5月6日

核心特点

  • •Firefox 3.5+
  • •Google Chrome
  • •Opera 12+
  • •Safari 6+

> 标签

TypeScriptdomjavascriptscreenshot

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言