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

Save Page with Overlaid QR Code #280

Open
clort81 opened this issue Jun 17, 2022 · 3 comments
Open

Save Page with Overlaid QR Code #280

clort81 opened this issue Jun 17, 2022 · 3 comments

Comments

@clort81
Copy link

clort81 commented Jun 17, 2022

Background

Idea for saving and printing pages.

Proposed solution

Create an option to 'Save Page As' - for archival, and overlay the qr code at the top of the page, so it can be printed to paper and recipients can open the page with their phone.
Would need to be someone who knows way more HTML and firefox than me :(

@clort81 clort81 added the enhancement New feature or request label Jun 17, 2022
@rugk
Copy link
Owner

rugk commented Jun 18, 2022

Hi and thanks for your suggestion. So you want to save the QR code?

Do you know there is already a way to do so?
Please have a look at https://github.com/rugk/offline-qr-code/wiki/FAQ#how-to-save-the-qr-code-on-disk

If so, what prevented you from finding that option?
If not, how/why do you want to save the HTML page? (And if you actually wanted to save that, this is also possible in the context menu by choosing "Save page as…", that's the usual browser feature and I tested it and it works for me. It also had the QR code you generated in there, one just cannot change it.)

@rugk rugk added question Further information is requested and removed enhancement New feature or request labels Jun 18, 2022
@clort81
Copy link
Author

clort81 commented Jul 22, 2022

I failed to communicate what would be an enhancement here.

I save webpages to disk then print them.
It would be good to have the qr code embedded in the html of the saved page, so that the printed page includes the QR code at top.

This would allow the recipients of the printed pages to open the link in their phones.

This is a suggestion for an enhancement and a function not currently implemented.

Thanks for the response, rugk.

@rugk
Copy link
Owner

rugk commented Jul 27, 2022

I save webpages to disk then print them.

Okay, then why is saving the QR code as PNG or SVG not enough? You can anyway drag it into any word processing tool (Word/LIbreOffice Writer or so) and then further edit it?

It would be good to have the qr code embedded in the html of the saved page, so that the printed page includes the QR code at top.

If you follow the steps I've explained above (right click -> "Save page as…"), the QR code should be embedded in the HTML as you say. AFAIK I've tried that even before I replied before.

In any case I think you may need to further edit the page anyway, as the output of the extension alone is likely not very nice to read.

You mentioned printing. We could actually try to implement a print option in the said context menu (though this linked API would likely just trigger/print the current tab instead of the browser popup, though I'm unsure whether that would be too useful, again, given because one would need to edit it further.
At least printing would also allow an easy way to create a PDF.

@rugk rugk removed the question Further information is requested label Jul 27, 2022
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

2 participants