Skip to content

Removes cookies, localstorage, etc. from non-whitelisted domains.

License

Notifications You must be signed in to change notification settings

lgommans/firefox-profile-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Firefox Profile Cleaner

Removes cookies, localStorage, etc. from non-whitelisted domains to prevent tracking

Note: this program is not an add-on but a Python script.

Tested in Firefox 55 and 56. Fully compatible with any add-on that I know of, since it works externally and just removes data from Firefox' cookies.sqlite and other such files.

First time setup

  1. Always have backups (just copy your .mozilla folder). The code is stable, but currently used/tested by only one person.
  2. Run ./clean.py --genconfig to generate a config file and store it in, for example, config.txt.
  3. Edit config.txt to select the Firefox profile you wish to clean, and the whitelist of sites to keep.
  4. Run ./clean.py config.txt.

Usage

./clean.py config.txt


nocomplete.py

This is a separate script, which attempts to make Firefox no longer autocomplete things. Firefox sometimes bugs and autocompletes the worst option rather than the best.

For example, when I type 'osm' I want to go to osm.org. Instead, it autocompletes to osmhv.openstreetmap.de which is something I visited like once a long time ago.

This script tries to remove the incorrect completion from the autocomplete list.

About

Removes cookies, localstorage, etc. from non-whitelisted domains.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages