offline-qr-code icon indicating copy to clipboard operation
offline-qr-code copied to clipboard

QR code scanner/reader

Open rugk opened this issue 6 years ago • 5 comments

There are also many JS libraries for just scanning a QR code:

  • https://github.com/schmich/instascan
  • https://serratus.github.io/quaggaJS/
  • https://github.com/dwa012/html5-qrcode
  • https://github.com/edi9999/jsqrcode
  • https://github.com/schmich/instascan

So maybe we could integrate that, too.

rugk avatar Apr 27 '18 13:04 rugk

Features may be:

  • right-click on image (or canvas, or so) -> decode QR code
  • click on toolbar button -> select some button there (note this button should of course not overlay the shown QR code, maybe just move in a bit when hovered) OR use context menu entry on browser_action icon -> scan from webcam

rugk avatar Apr 27 '18 16:04 rugk

This add-on shows what I mean: https://addons.mozilla.org/de/firefox/addon/qrcode-generator-and-reader/

rugk avatar May 09 '18 20:05 rugk

Possibly a good lib: https://github.com/zxing-js/library

rugk avatar Feb 28 '19 09:02 rugk

@rugk Saw this after your link from #213

right-click on image (or canvas, or so) -> decode QR code I like this. Not too invasive and it's a good contextual option.

... scan from webcam This not so much; I like that this is a small extension. More permissions and camara use would scare me off.

Just my 2 cents.

jamescallumyoung avatar Oct 15 '19 21:10 jamescallumyoung

More permissions and camara use would scare me off.

This would definitively only be requested at runtime when you use it. (It would use WebRTC, which has this built-in.) An add-on actually does not have more permissions than a usual web page in this regards…

rugk avatar Oct 15 '19 21:10 rugk