我创建了一个新项目来做这件事。它将内容复制到一个iframe中,使用css进行缩小。因此没有canvas、CORS问题,并且尺寸正确。 https://github.com/demux/sublime-scroll/