JsQRScanner icon indicating copy to clipboard operation
JsQRScanner copied to clipboard

[Violation] Avoid using document.write(). Warning

Open ptarys opened this issue 4 years ago • 3 comments

Hi,

I have a Warning on jsqrscanner.nocache.js ( who works like a charm by the way)

jsqrscanner.nocache.js:3 [Violation] Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write

Seems to be located on : function Bb(){var e,f=q,g;ob.write(r+f+s);...

I didn't found anything on that, are you already aware of that ?

Thanks for the job 👍

ptarys avatar Feb 14 '21 10:02 ptarys

Thanks, it is a known issue https://github.com/jbialobr/JsQRScanner/issues/12

jbialobr avatar Feb 15 '21 06:02 jbialobr

Hi Janusz,

Thanks for your answer. Why not specifying this as known issue on your Github ?

Regards, Patrice.

Le 15 févr. 2021 à 07:52, Janusz Białobrzewski [email protected] a écrit :

Thanks, it is a known issue #12 https://github.com/jbialobr/JsQRScanner/issues/12 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jbialobr/JsQRScanner/issues/45#issuecomment-778993291, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2CKLW3P724WPEIPVCMH3TS7DAEDANCNFSM4XTDDJHA.

ptarys avatar Feb 15 '21 07:02 ptarys

That is a good idea, thanks.

jbialobr avatar Feb 15 '21 08:02 jbialobr