instascan
instascan copied to clipboard
how to get the scanned content to another tab window
is possible to scan the QR code and automatically send the content to another page? i tried using 'submit form' as submission way in javascript but doesn't work, thanks for helping me
Check this similar post here that I found relating to window open in another tab, https://github.com/schmich/instascan/issues/69
If it could help, share the result if you find the solution.
Matter of fact I have found the solution
in the javascript code where it says scanner.add listener () { alert(content) } , just write window.location.href = content; make sure that the content of the QRcode is your project URL. That's it. Share your reply. Cool