Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

On Monday the 3rd of March, around 5pm UTC (9am PT) users may experience a brief period of downtime while one of our underlying services is under maintenance.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

I opened places.squlite in "DB Browser for SQLite" program. But I can't see the URLs or webpage titles or easy-to-read timestamps in the moz_historyvisits table.

more options

I made a copy of the places.sqlite file and put that copy into my Documents folder. I then downloaded DB Browser for SQlite (https://sqlitebrowser.org/).

I opened the places.sqlite in the program. I click on the "Browse Data" tab. I then click the dropdown list for the "table", and choose "moz_historyvisits". But I don't see any understandable information.

I was expecting to see URLs, titles of the webpages, and possibly having the visit date in some easy-to-read format. can anyone help please?

I made a copy of the places.sqlite file and put that copy into my Documents folder. I then downloaded DB Browser for SQlite (https://sqlitebrowser.org/). I opened the places.sqlite in the program. I click on the "Browse Data" tab. I then click the dropdown list for the "table", and choose "moz_historyvisits". But I don't see any understandable information. I was expecting to see URLs, titles of the webpages, and possibly having the visit date in some easy-to-read format. can anyone help please?
Đính kèm ảnh chụp màn hình

Được chỉnh sửa bởi Mozilla cheese vào

Tất cả các câu trả lời (1)

more options

Hi Mozilla cheese, are you familiar with writing SQL queries or creating database views?

places.sqlite is a relational database, which favors compactness over convenience. In order to construct a complete picture, you need to join tables. For example, moz_historyvisits contains a place_id column which refers to the id column of the moz_places table. That is where you find the URL of the "place" that was visited.

You could try this on the Execute SQL tab:

SELECT datetime(visit_date/1000000,'unixepoch') AS VisitDateTime, url, title
FROM moz_places INNER JOIN moz_historyvisits 
    ON moz_historyvisits.place_id = moz_places.id
WHERE url LIKE '%://support.mozilla.org/%'
ORDER BY visit_date DESC


This query finds URLs on support.mozilla.org in moz_places and dumps out all the visits to those URLs in reverse chronological order. It includes a function to reformat the numeric visit_date value to a more recognizable date-time.

Please ignore the way the forum finds and linkifies text in the above, they are not intended to be hyperlinks.

If you remove the WHERE clause, the DB Browser should list everything.

The rabbit hole is deep, so that's only the barest glimpse.