Curious if you delete browsing history, cookies and cache, how often and for what reason?
Reason I'm asking is because I used to clear it every now and then but figured out it serves no real purpose other than loosing your history in case you need it.
Troubleshooting web site navigation is an exception though to clear cache or cookies.
How long is your browsing history?
Do you maybe back it up?
I don't depend on my browsing history so I simply don't allow firefox to keep a browsing history.
Unfortunately, there are a bunch of files in the ~/.mozilla/ directory, some of which grow continuously over time, that I cannot readily see into. Paranoid S.O.B. that I am, I decided to make sure that there will be nothing except my bookmarks, preferences and extensions (mainly ad blockers) persisting beyond a certain point - and I define that point.
I backed up all my firefox bookmarks to a .json file then, on a clean OS, installed firefox, set my preferences, installed AdBlockPlus and a couple of other extensions, loaded up my bookmarks and STOPPED without browsing anywhere else on the web. I then made a tarball of the ~/.mozilla/ directory. Then wrote a script that does the following:
- checks to see if firefox is running - if so, waits for it to exit
- deletes ~/.mozilla/
- restores ~/.mozilla/ from the "clean" tarball
- warns if there is a ~/bookmarks*.json file that is newer than the clean tarball
- if firefox was initially running, restarts it
If there was a newer bookmarks file (doesn't happen all that often), I manually restore bookmarks from that and then regenerate the tarball (without having browsed the web since the browser restart.
The script runs at the click of an icon and regenerating the tarball happens in the same script, with a command line flag, at a right click of the same icon.
I run this, for instance, before and after I do any on-line banking, before and after using any sites that I suspect are ad- or tracker-heavy (news sites are usually prime offenders), before and after using facebook, etc.
It takes a second or so to run, with the only prerequisite being that it won't do anything until all instances of firefox are closed (
pidof firefox comes up empty ). A tarball rebuild takes less than five seconds.
Whereas I used to occasionally find specific types of ads following me around the web after a google search, that doesn't seem to be happening any more.