Your Search Results


    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.


    The 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.

    For more information on NFC, read Using the NFC API and study the NFC reference.


    var nfc = navigator.mozNfc;

    Return value

    navigator.mozNfc returns a MozNFC object.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
    Basic support

    Not supported

    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.

    See also

    Document Tags and Contributors

    Contributors to this page: allstars.chh, MHasan, teoli, chrisdavidmills
    Last updated by: teoli,
    Hide Sidebar