为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

I cannot delete browsing history that is 5+ years old

  • 2 个回答
  • 1 人有此问题
  • 16 次查看
  • 最后回复者为 cor-el

more options

Selected: "Clear All History" Selected Time Range: "Everything" Checked: "Browsing & Download History" and "Form & Search History" Selected: "Clear Now"

It thought it cleared everything. But when I search history using terms like "com" or "net," a lot of entries that are over 5 years old appear. Is there anyway to delete those hidden items too - or do I need to start fresh with a new Identity?

Selected: "Clear All History" Selected Time Range: "Everything" Checked: "Browsing & Download History" and "Form & Search History" Selected: "Clear Now" It thought it cleared everything. But when I search history using terms like "com" or "net," a lot of entries that are over 5 years old appear. Is there anyway to delete those hidden items too - or do I need to start fresh with a new Identity?

所有回复 (2)

more options

Firefox keeps several tables of "history":

When you clear history, the first two categories are erased (except for URLs that are also bookmarked) but the third category is not. Is that whre you notice this problem?

In fact, I'm not aware of a built-in way to clear that table (moz_hosts). There are a couple of somewhat difficult ways to do it described in this thread:

Unable to remove suggestion from address bar

Alternately, you could hide the database file to force Firefox to create a fresh one. Firefox should restore your last automatic bookmark backup as part of that process, but I suggest making a couple safety backups first.

(1) Create an extra bookmark backup using the steps in this article: Restore bookmarks from backup or move them to another computer.

And for good measure, an HTML-format export: Export Firefox bookmarks to an HTML file to back up or transfer bookmarks

(2) Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter/Return

In the first table on the page, click the "Show in Finder" button. This should launch a new window listing various files and folders.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

(3) Pause while Firefox finishes its cleanup -- give it a good 15-30 seconds -- then rename places.sqlite to something like places.old. The reason for renaming rather than deleting is in case Firefox is not able to restore your bookmark backup.

If you see other similarly named files like places.sqlite-shm and/or places.sqlite-wal, you can delete those.

(4) Start Firefox back up again. When it fails to find places.sqlite, Firefox should create a new one and restore your bookmarks from your last automatic backup.

Are the bookmarks complete? If not, you can restore your manual backup using the steps in the above article.

more options