instascan icon indicating copy to clipboard operation
instascan copied to clipboard

how to get the scanned content to another tab window

Open carlosale2 opened this issue 4 years ago • 1 comments

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

carlosale2 avatar May 16 '20 16:05 carlosale2

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

skilledknight avatar Apr 22 '21 05:04 skilledknight