Can You Get the Information on the QR Code Image Just by Using Javascript?

<p><strong>Recently, I found something very interesting and it is about QR codes.</strong></p> <p><strong>It is really amazing that you can use pure JavaScript to parse the QR code image and get the content it represents.</strong></p> <h1>1.# Friends, try it, please!</h1> <p>My friends, I have prepared an online example for you, you just need to copy the image of the QR code here. Then you can experience its effect!</p> <p><iframe frameborder="0" height="600" scrolling="no" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fqianlong%2Fembed%2Fpreview%2FwvxgLRr%3Fdefault-tabs%3Dhtml%252Cresult%26height%3D600%26host%3Dhttps%253A%252F%252Fcodepen.io%26slug-hash%3DwvxgLRr&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2Fqianlong%2Fpen%2FwvxgLRr&amp;image=https%3A%2F%2Fshots.codepen.io%2Fqianlong%2Fpen%2FwvxgLRr-512.jpg%3Fversion%3D1673276761&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" title="qrcode" width="800"></iframe></p> <p>You can click this&nbsp;<a href="https://www.google.com/search?q=qrcode&amp;sxsrf=AJOqlzX9o34eXyBBbOUG9IJQD9OJ1WSI9g%3A1673276712759&amp;tbm=isch&amp;sa=X&amp;ved=2ahUKEwiXtczA4br8AhV8HbcAHXE6D-EQ_AUoAXoECAEQAw&amp;biw=1261&amp;bih=693&amp;dpr=2.2" rel="noopener ugc nofollow" target="_blank">link</a>&nbsp;to copy a QR code image.</p> <h1>2. About BarcodeDetector</h1> <p>Parsing QR codes can be done by&nbsp;<code>BarcodeDetector</code>, it is so convenient.</p> <p>(from&nbsp;<a href="https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector" rel="noopener ugc nofollow" target="_blank">mdn</a>) The BarcodeDetector interface of the Barcode Detection API allows the detection of linear and two-dimensional barcodes in images.</p> <p><a href="https://fatfish.medium.com/can-you-get-the-information-on-the-qr-code-image-just-by-using-javascript-13885a999fac">Website</a></p>