神岛 API 文档 - ArenaPro版
    Preparing search index...

    导航器。

    Navigator.

    Index

    Properties

    Methods

    Properties

    language: string

    获取该客户端当前语言。

    有效的语言代码示例包括“en”、“zh-CN”、“fr”、“fr-FR”、“es-ES”等。

    值以及属性特性与浏览器本身的属性保持一致。

    Gets the current language of this client.

    Examples of valid language codes include "en", "zh-CN", "fr", "fr-FR", "es-ES", etc.

    The value and attribute characteristics are consistent with the browser's own properties.

    userAgent: string

    获取该客户端的用户代理信息。

    值以及属性特性与浏览器本身的属性保持一致。

    Gets the user agent information for this client.

    The value and attribute characteristics are consistent with the browser's own properties.

    Methods