Skip to main content

Clear Firefox history

Apply Now
Works with any Linux distroWorks with any Linux distribution that can run bash scripts.
  • Linux onlyThis script improves your privacy on Linux
  • Multiple actionsThis page belongs to a category, containing some changes with similar goal.
  • Impact: Minimum

    System Functionality / Data Loss Risk: Low

    This action improves privacy with minimal impact when you run the recommended script.

  • Bash (Shell script)These changes use Linux system commands to update your settings.
  • 8 scripts
  • No subcategories
  • Sudo/root requiredThis script requires privilege access to do the system changes
  • IrreversibleYou can restore parts of this action (revert back to the original behavior) using the application.

Overview

This category encompasses a series of scripts aimed at helping users manage and delete their browsing history and related data in Mozilla Firefox.

The scripts are designed to target different aspects of user data stored by Firefox, providing users options for maintaining privacy and freeing up disk space.

Safe for General Use
This script has Normal protection level option. This is recommended for all users to improve without any noticeable impact on the system functionality.

Apply Now

Choose one of two ways to apply:

Download script

Download and run the script directly
  • No app needed
  • Offline usage
  • Free
  • Open-source

NormalEveryday Privacy (Enterprise-Grade)

  • Recommended for all
  • Safe for daily use
  • No impact on system stability

Read more about Normal and other protection levels

Help

How to apply "Clear Firefox history" using script

  • ≈ 3 min to complete
  • Tools: Web Browser
  • Difficulty: Medium
  • ≈ 6 instructions
  1. 1

    Choose protection

    Choose one of the options with different impact levels:

    • Normal

      Some safe changes minimal system impact.
    • Maximum

      Some impactful changes with high system impact.
  2. 2

    Download

    Download the script file by clicking on the   Apply protection  button above.
  3. 3

    Keep the file

    If warned by your browser, keep the file.
  4. 4

    Open

    Open the downloaded file.
  5. 5

    Exit

    Once it's done, press any key to exit the window.
  6. 6

    Restart

    Restart your computer for all changes to take effect.

Apply with privacy.sexy

Guided, automated application with safety checks
  • Recommended for most users
  • Includes safety checks
  • Shows the code
  • Free
  • Open-source
  • Popular
  • Offline/Online usage
Open privacy.sexy
Help

How to apply "Clear Firefox history" using privacy.sexy

  • ≈ 3 min to complete
  • Tools: privacy.sexy
  • Difficulty: Simple
  • ≈ 4 instructions
privacy.sexy is free and open-source application that lets securely apply this action easily with more advanced options.
  1. 1

    Open or download

    Open or download the desktop application
  2. 2

    Choose script

    1. Search for the category name: Clear Firefox history
    2. Check the category by clicking on the checkbox of the category.

    Applying Normal to limit the impact.

  3. 3

    Run

    Click on ▶️ Run button at the bottom of the page.

    This button only appears on desktop version (recommended). On browser, use 💾 Save button.

Explore This Guide

  • 8 Privacy settings

Choose what to protect based on your needs:

Click any option to learn more about what it does.

Each change can be applied and reversed individually.

  • Some settings and commands may require technical knowledge to apply correctly.
  • Most users find the Normal protection above sufficient.

Clear Firefox cache

The cache gets stored ".cache" folder, which you can see when you navigate to "about:cache".

Clear Firefox crash reports

Firefox stores crash reports in "~/.mozilla/firefox/Crash Reports/" to submit them later. They are also seen to be stored in the profile directory. You can run "about:crashes" in the address bar to see crash reports and their submission dates.

Clear Firefox cookies

This script deletes Firefox browser cookies to reduce online tracking. A cookie is a small piece of data stored by websites on your browser. Websites use cookies to remember your preferences and track your browsing activity. While some cookies help websites function properly, others may be used for tracking your online behavior. Deleting cookies: Reduces tracking of your browsing habits • May improve browser performance by freeing up storage space • Requires you to sign in again to websites • Ma...

Clear Firefox browsing history (URLs, downloads, bookmarks, visits, etc.)

This script targets the Firefox browsing history, including URLs, downloads, bookmarks, and site visits, by deleting specific database entries. Firefox stores various user data in a file named "places.sqlite". This file includes: Annotations, bookmarks, and favorite icons ("mozannoattributes", "mozannos", "mozfavicons") • Browsing history, a record of pages visited ("mozplaces", "mozhistoryvisits") • Keywords and typed URLs ("mozkeywords", "mozinputhistory") • Item annotations (`moz_item...

Clear Firefox logins

Logins for Firefox are saved in the "logins.json" file. Older versions of Firefox stored logins in the "signons.sqlite" database, within the "moz_logins" table. Back-ups are stored in the "logins-backup.json" file.

Clear Firefox autocomplete history

The "formhistory.sqlite" file remembers what you have searched for in the Firefox search bar and what information you've entered into website forms.

Clear Firefox open tabs and windows data

The "sessionstore.jsonlz4" file stores the currently open tabs and windows. See (Reference: "Restore previous session - Configure when Firefox shows your most recent tabs and windows").

Similar Guides

Wider Goal

Guides below includes this guide to achieve a wider goal.

See other more general settings that includes this one as one of its actions.

These plans combine multiple privacy settings, including this one, for stronger protection.

A web browser (commonly just called a browser) is software that is used to visit websites. The browsing history, cache entries, and other potentially sensitive dat...

Same Goal

Another guide in Clear browser history 

See settings that are in the same category as this guide.

Using other actions in the same category may help you achieve your goal better.


About the Creators

These people have authored this documentation and written its scripts:

  • Avatar of undergroundwires. The creator of PrivacyLearn and privacy.sexy. Black and white portrait showing a person wearing a polka dot tie and suit jacket, reflecting the professional expertise behind the privacy protection tools.
    • Certified security professional
    • 7+ years experience securing banks
    • Open-source developer since 2005
    • EU advisor, Public Speaker, Moderator
    • Hundreds across the globe
    • Testers, reviewers, developers
    • Companies, military agencies
    • Community since 2017

Reviewed By

This guide has undergone comprehensive auditing and peer review:
  • Expert review by undergroundwires

    • Verified technical accuracy and editorial standards
    • Assessed system impact and user privacy risks
  • Public review by large community

    • Privacy enthusiasts and professionals peer-reviewed
    • Millions of end-users tested across different environments

History

We continually monitor our guides, their impact and all other privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.