code: function convertVersionNumber (ver) {
      var hashVersion = {
          '18.0': '1.0.1',
          '18.1': '1.1',
          '26.0': '1.2',
          '28.0': '1.3',
          '30.0': '1.4',
          '32.0': '2.0'
      };
      var rver = ver;
      var sStr = ver.substring(0, 4);
      if (hashVersion[sStr]) {
          rver = hashVersion[sStr];
      }
      return (rver);
  
  }
docs: UA parsing not recommended but currently this is the only way to get the Firefox OS version https://developer.mozilla.org/en-US/docs/Gecko_user_agent_string_reference Should be replaced when better conversion to Firefox OS Version is available