這是一個隻讀屬性,如果瀏覽器處於聯機模式,則返回true;如果處於脫機模式,則返回false。 用法: navigator.onLine. 以下示例程序旨在說明Navigator onLine屬性:.
確定! 回上一頁