Taking full page screenshot with a Chrome extension

后端 未结 4 2167
隐瞒了意图╮
隐瞒了意图╮ 2020-12-20 00:34

Is there away to capture a screenshot of the full page, including what is below the fold, in a Chrome Extension?

The captureVisibleTab seems to be limited to what is

4条回答
  •  青春惊慌失措
    2020-12-20 01:19

    The standard approach seems to be to scroll around the page and capture screenshots at each part and then stick them all together. The official google screen capture plugin does this, but I found it to be buggy (at least on Mac OSX), so I wrote my own full page screen capture extension.

    Source code here (relevant code in page.js and popup.js).

提交回复
热议问题