Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include a full-page screenshot (instead of visible part of the screen) #29

Open
basilesimon opened this issue Jul 15, 2021 · 2 comments

Comments

@basilesimon
Copy link
Member

We're including a base64-encoded screenshot PNG which, disappointingly, is only the visible part of the screen (see [browser.tabs.captureVisibleTab](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/Tabs/captureVisibleTab)).

Moving to a full-page screenshot will involve some fiddling with simulating a scroll while capturing with Screen Capture API, I'm told.

@nikonikoniko
Copy link
Member

firefox itself seems very capable of full page screenshots: https://screenshots.firefox.com/

@padenot
Copy link

padenot commented Sep 1, 2021

This is implemented around here. There is a bit of documentation, read the disclaimers: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawWindow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants