Customizing the way your browser stores and organizes data
Sweeping Up
Web browsers collect a large amount of data about the user’s browsing habits. If you care about privacy, you might want to clean up your browser and configure some custom privacy settings.
The web browser is one of the most popular desktop applications. Regardless of whether you prefer Firefox, Chrome, Opera, w3m, Internet Explorer, Safari, or another browser, you probably spend a lot of time on the Internet. To make life easier, modern web browsers (and web servers) collect information about us and our behavior. Thanks to this system of data storage and collection, we benefit from amenities such as automatic completion of URLs and access credentials, as well as predictive content buffering. But keeping all this browser data around also has some disadvantages – especially if you're concerned about privacy. This article offers some tips for cleaning up browser user data. The examples in this article use Firefox 57, but other browsers have similar features.
Basic Settings
To tweak Firefox settings, choose Edit | Settings. Alternatively, you could just type about:preferences in the address bar or click on the button with the three horizontal dashes in the upper right corner (Figure 1) and then select the gearwheel icon.
The Settings dialog window contains a selection menu with higher-level terms on the left and detailed information on the right. Many details are hidden in submenus and additional windows, making orientation difficult. For now, we will focus on the settings related to data protection (Figure 2). Choose Privacy & Security from the menu on the left side of the Preferences page, or enter about:preferences#privacy in the address bar.
History and Activities
The settings in the Tracking Protection section let you block websites known to keep track of your activities. With the default settings, Firefox uses the basic version of the Disconnect block list [1]. Click the Change Block List button to adjust the filter rules. You can switch between the two modes: Basic protection and Higher protection. Mozilla recommends that you not block all trackers to allow websites to work as expected. You can exclude websites that you do not want to track you.
The History section lets you specify how Firefox will log the progress of the websites you visit. By default, Firefox automatically remembers your browsing history. For more privacy, change the setting to Never remember history, or choose Use custom settings for history for user control of the privacy settings (Figure 3).
To see the history, press Ctrl+H or select Library | History (Figure 4). Press Delete to delete a recorded entry. Use the input field above to start a search for the specified term and quickly jump to the desired entry. To remove the entire history, choose Library | History | Clear Recent History.
Removing Cookies
When you meet someone for coffee, the host will often offer you cookies. If you visit a website with your browser, it too will offer you a few cookies, in this case in the form of small text files saved locally by the browser.
The files you receive help the web page to identify you on your next visit by means of a stored session ID. For example, you don't have to register again, such as with a forum or a webmail. Other information, such as whether and how often you visit the site and which settings you use for surfing, also ends up in the browser's cookie jar.
Not all cookies taste good. For example, cookies can be used to inject malware into the browser, to sniff critical data, or to spy on your surfing behavior.
When you call up a website, you often receive what are known as third-party cookies in addition to cookies from the domain you actually accessed. For example, if you navigate to a travel agent's website, you will often find one of the typical Facebook like buttons next to the individual offers. This element, which is retrieved directly from the Facebook servers, now sets a Facebook cookie when the travel provider's website is loaded; the social media service can then read this cookie in order to present you with targeted advertising.
You can view the stored cookies by clicking the Show Cookies button (Figure 5) and removing them if necessary. Keep in mind that this restricts the functionality of many websites if you completely block cookies: For example, a typical online store or forum throws you out of the system every time you visit a page, so you would have to log in again and again.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.