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

[ext] Do full page capture #8803

Conversation

tdraier
Copy link
Contributor

@tdraier tdraier commented Nov 21, 2024

fixes #1663

Description

Replace simple capture by full page based on "GoFullPage - Full page screen capture"
When doing requesting a full page capture, inject a script in the target page that will scroll and trigger capture on each page.
Aggregate all captures in a image. If the final image is too bug (more than 15000 pixels high or 4000 wide), it will create and upload multiple files.

Risk

Deploy Plan

@tdraier tdraier requested a review from PopDaph November 21, 2024 13:01
Copy link
Contributor

@PopDaph PopDaph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not review the logic adapted from the lib but rest LGTM, I really look forward to testing it!

extension/app/background.ts Outdated Show resolved Hide resolved
@tdraier tdraier merged commit 18fd03a into main Nov 21, 2024
3 checks passed
@tdraier tdraier deleted the 1663-ext-include-screenshot-button-takes-a-screenshot-of-the-full-page branch November 21, 2024 15:45
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

Successfully merging this pull request may close these issues.

2 participants