DEV Community

Cover image for Impressive Updates in Chrome 81 !
Desmond
Desmond

Posted on • Updated on

Impressive Updates in Chrome 81 !

Google Chrome's new update (81) introduced a massive improvement from Augmented Reality, NFC , Nicer default styling for form elements and many more..

How you can use NFC in Javascript


if ("NDEFReader" in window) {
  const reader = new NDEFReader();
  await reader.scan();
  reader.onreading = ({ message }) => {
    console.log(`Message read from a NFC tag: ${message}`);
  };
}
Enter fullscreen mode Exit fullscreen mode

Read more here
Chrome 81 Updates

New In Chrome

Top comments (4)

Collapse
 
thecodrr profile image
Abdullah Atta • Edited

Wouldn't this be a better way to check for NFCReader support?

if (window.NDEFReader) {
// do something
}
Collapse
 
nyamador profile image
Desmond

That's possible..It's just a matter of preference

Collapse
 
rhymes profile image
rhymes

Thanks for the update! I haven't been keeping much up to date with Chrome lately.

I the main ones are Chrome only features though :(

Collapse
 
nyamador profile image
Desmond

Thanks for the references