【发布时间】:2023-02-11 12:22:26
【问题描述】:
努力将 html2canvas-proxy 用于跨源屏幕截图。据我了解,将 url 作为参数传递 (localhost:xxxx?url=https://...) 将图像屏幕截图数据作为 base 64 字符串 (check blob) 返回。
这仅在 url 参数是图像源时有效。在使用任何其他 url 并将其用作图像源时,我只得到替代文本。
例如,代理与 https://placebear.com/200/300 一起工作,但无法与 https://google.com 一起工作作为 url 参数。
任何帮助将非常感激
【问题讨论】:
标签: proxy html2canvas