This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.
mozNfc property returns a
MozNFC object that can be used to access Firefox OS's NFC functionality: Near Field Communication (NFC) is a short range radio technology used to exchange data and tags between mobile devices by tapping them together or moving them close to each other.
var nfc = navigator.mozNfc;
navigator.mozNfc returns a
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Not supported||Not supported||Not supported||Not supported|
|Feature||Android||Firefox Mobile (Gecko)||Firefox OS (Gecko)||IE Phone||Opera Mobile||Safari Mobile|
|Basic support||Not supported||Not supported||2.0 moz||Not supported||Not supported||Not supported|
The NFC implementation in Gecko follows the NFC Forum specifications.