Local QR Code generator?

I’m looking for Java scripts to generate QR codes in the browser with the url of the page for printing.
Has anyone a nice small solution?

Like to build a partial for the QR code.

This might be adaptable, although I cannot vouch:


i will use this old jewel