This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
roaming is a read-only property that indicates whether the connection is going through a foreign operator (
true) or not (
var dataRoaming = navigator.mozMobileConnection.data.roaming; var voiceRoaming = navigator.mozMobileConnection.voice.roaming;
Return a boolean.
Not part of any specification.