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

Error when downloading after update #22

Open
buratsy opened this issue May 15, 2024 · 0 comments
Open

Error when downloading after update #22

buratsy opened this issue May 15, 2024 · 0 comments

Comments

@buratsy
Copy link

buratsy commented May 15, 2024

I think a recent Chrome update broke the downloader. After the scrolling part, it doesn't generate a PDF_DataFile anymore and I get multiple error messages such as VM170:28 Uncaught RangeError: Invalid string length at generatePDF_DataFile (<anonymous>:28:38) at <anonymous>:86:25. The error seems to be referring to this line in Method 1 doc = doc + "\n" + imgDataURL;

I tried Method 2 and it doesn't work from the get-go. unlike Method 1 which still goes through the scrolling process.

Update: It seems like the errors only happen if you zoom the pdf. It works fine if you download the pdf as it is when you open it. Still, I remember it working fine like 2-3 weeks ago regardless of zoom and without zooming, all the files will have low resolution.

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

1 participant