history.HistoryItem

HistoryItem 物件提供有關瀏覽器歷史記錄中某個頁面的資訊。

型別

這是一個具有以下屬性的物件:

id

string。專案的唯一識別符號。

url 可選

string。頁面的 URL。

title 可選

string。頁面的標題。

lastVisitTime 可選

number。頁面上次載入的日期和時間,以自紀元以來的毫秒數表示。

visitCount 可選

number。使用者訪問該頁面的次數。

typedCount 可選

number。使用者透過在位址列中輸入而導航到該頁面的次數。

瀏覽器相容性

注意:此 API 基於 Chromium 的 chrome.history API。本文件來自 Chromium 程式碼中的 history.json