The officially official Devuan Forum!

You are not logged in.

#1 2024-10-16 15:00:27

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Firefox 128.3.1esr *not* clearing history on closing

Hello:

Devuan Daedalus now running Firefox 128.3.1esr but the same thing was happening with the previous browser version.

I have (as I have done ever since I can recall) the Privacy and Security -> History setting as 'Use custom settings for history' with 'Clear history when Firefox closes' checked.

Always worked, but now I find that closing Firefox does not do what I set it to do.

I return home, boot my box, open Firefox and instead of getting the usual blank page, I get the last web site I was looking at when I closed the browser.
Quite annoying.

Has anyone else seen this same behaviour?
Any idea as to what may be going in?

Thanks in advance.

Best,

A.

Offline

#2 2024-10-16 17:30:59

quickfur
Member
Registered: 2023-12-14
Posts: 431  

Re: Firefox 128.3.1esr *not* clearing history on closing

No idea what's going on, but if you're paranoid, you can always

rm -rf ~/.cache/mozilla/firefox

to destroy all cached files.  This probably also includes profiles and settings, though, so if you want to save some things, you may need to refine that rm target appropriately.

Offline

#3 2024-10-16 18:31:23

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: Firefox 128.3.1esr *not* clearing history on closing

Hello:

quickfur wrote:

... you can always ...
... probably also includes profiles and settings ...

I'd rather it worked as intended.

One thing though: while testing today I found that I cannot reproduce this at will, which is strange.
I'll have to do some more testing.

Thanks for your input.

Best,

A.

Offline

#4 2024-10-17 06:02:24

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 190  

Re: Firefox 128.3.1esr *not* clearing history on closing

if you are comfortable using Firefox "about:config" area, then you can start investigating by searching these one at a time. "resume" "reload" "restart" and any other keywords/phrases that might show what is happening.

please keep us posted on your progress as i am sure others will have the same situation!


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#5 2024-10-17 14:14:38

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: Firefox 128.3.1esr *not* clearing history on closing

Hello:

stargate-sg1-cheyenne-mtn wrote:

... comfortable using Firefox "about:config" ...

Sure, no problem with that.

stargate-sg1-cheyenne-mtn wrote:

... start investigating by searching these ...

Thanks for that info.

stargate-sg1-cheyenne-mtn wrote:

... keep us posted ...

Of course, always.

But ...
On one hand, I have not heard from anyone (yet) with the same issue and on the other, I have not been able to reproduce it.
Not has it happened again.

What I know for sure is that I had not ever seen it happen before the last two Firefox *esr updates.
ie: the versions without the upper left hand View recent browsing across windows and devices icon.

Can that new crap feature be disabled?

And then it may be a fluke, a hardware problem or worse, allucinations. 8^°
No idea, but I don't like it.

Thanks for your input.

Best,

A.

Offline

#6 2024-10-17 15:09:29

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Firefox 128.3.1esr *not* clearing history on closing

115.8.0esr in excalibur works correctly. It has the "Firefox View" icon in the upper left.

128.3.1esr in the same excalibur also works correctly. This one has a folder icon in the upper left that says "View recent browsing..."

I tried the newer version both by closing the window and by killing firefox from a terminal. Both worked correctly.

Offline

#7 2024-10-17 15:12:57

blackhole
Member
Registered: 2020-03-16
Posts: 106  

Re: Firefox 128.3.1esr *not* clearing history on closing

Check the bug reports:

https://bugs.debian.org/cgi-bin/pkgrepo … t=unstable

Maybe a relevant one among that bugfest: https://bugs.debian.org/cgi-bin/bugrepo … bug=682369

Still seems open and unfixed...

Offline

#8 2024-10-17 20:22:12

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: Firefox 128.3.1esr *not* clearing history on closing

Hello:

stargate-sg1-cheyenne-mtn wrote:

... comfortable using Firefox "about:config" ...

That is usually, albeit not always, a good way to start.

I went looking and through trial and error finally managed to (?) domesticate the beast a bit.
But the jury is still deliberating, so caveat emptor.

What I did in about:config was this:

1. looked for all instances of recent
2. set browser.bookmarks.editDialog.maxRecentFolders to 0
3. set browser.download.manager.addToRecentDocs to false
4. set browser.engagement.recent_visited_origins.expiry to 1*
5. set browser.urlbar.recentsearches.featureGate to false
6. set browser.urlbar.suggest.recentsearches to false
7. set privacy.restrict3rdpartystorage.heuristic.recently_visited_time to 1*
8. set services.sync.prefs.sync.browser.ctrlTab.sortByRecentlyUsed to false

* the default values are (probably) in seconds so I used 1 in case nought (0) means forever.

There's probably more to edit, time will tell.

Thank you all for your input.

Best,

A.

Offline

#9 2024-11-03 11:27:03

Devarch
Member
Registered: 2022-10-03
Posts: 69  

Re: Firefox 128.3.1esr *not* clearing history on closing

LibreWolf erases history.

Offline

#10 2024-11-03 12:01:12

Camtaf
Member
Registered: 2019-11-19
Posts: 436  

Re: Firefox 128.3.1esr *not* clearing history on closing

I found more or less the same problem, FF won't delete recent history, but I found this to work, use Show all history - Select all - Delete

Offline

#11 2024-11-13 23:41:27

greenjeans
Member
Registered: 2017-04-07
Posts: 541  
Website

Re: Firefox 128.3.1esr *not* clearing history on closing

Yeah Chromium doesn't want to do it either.

It's kind of astounding the amount of temp files and cookies and other garbage that accumulates in just one day, usually 400+mb on my machine. Ridiculous, almost half a gig.

I run bleachbit at the end of the day before shutdown, it cleans that stuff up pretty good.


https://sourceforge.net/projects/vuu-do/
Vuu-do GNU/Linux, minimal Devuan-based openbox systems to build on, maximal versions if you prefer your linux fully-loaded.

Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

#12 2024-11-14 08:16:09

Babarosa
Member
Registered: 2024-09-14
Posts: 4  

Re: Firefox 128.3.1esr *not* clearing history on closing

One possible solution is to use "bleachbit" to clean caches, cookies, ...

https://www.bleachbit.org/

Using bleachbit I never had problems with "destroying my system" by accidentally deleting files, but I make backups and am mindful when using this software :-)

Last edited by Babarosa (2024-11-14 09:31:11)


Ad aspera ad astra

Offline

#13 2024-11-14 14:33:23

blackhole
Member
Registered: 2020-03-16
Posts: 106  

Re: Firefox 128.3.1esr *not* clearing history on closing

I would avoid bleachbit.  Totally unnecessary, Windows style, registry cleaner.  If you have an SSD, constantly wiping and recreating the cache data is not a good thing.

Post #2 actually refers to removing the cache, which is counterproductive - unless you're absolutely paranoid - and won't remove the browsing history.

The file(s) you would need to remove are actually in the profile directory

The following should remove all browsing history from all profiles (or modify the below just to target your profile directory).

$ rm ~/.mozilla/firefox/*/places.sqlite

You could place this in a simple script to start firefox and run that on exit.

Last edited by blackhole (2024-11-14 14:33:44)

Offline

#14 2024-11-14 16:36:05

stopAI
Member
Registered: 2023-04-04
Posts: 186  

Re: Firefox 128.3.1esr *not* clearing history on closing

Hello.
If a person wants to remain anonymous on the Internet (as far as it is possible on the Internet), is it not better to use Tor Browser? As far as I know this browser deletes the browsing data automatically after closing it.

Offline

#15 2024-11-14 16:55:49

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 190  

Re: Firefox 128.3.1esr *not* clearing history on closing


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#16 2024-11-14 18:18:34

blackhole
Member
Registered: 2020-03-16
Posts: 106  

Re: Firefox 128.3.1esr *not* clearing history on closing

My interpretation was that this is more a matter of removing browsing history on closing the browser - quite different from anonymity.

Tor browser does that by default because it's set to private browsing mode or not to store history at all - can't remember which,  as I haven't used it in years.

Offline

#17 2024-11-14 20:16:38

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 190  

Re: Firefox 128.3.1esr *not* clearing history on closing

yes, OP reported having firefox set to remove history when closed/shutdown/terminated and then had an occurrence where when starting firefox they were returned to the webpage they were at when firefox was previously closed/shutdown/terminated.

and further reported that it only happened once and/or infrequently.

a guess would be that firefox somehow failed to shutdown completely/gracefully/etc or that it somehow was still _running_in_the_background_ unknown to the OP.

and since we are now at firefox 128.4.0esr, hopefully it won't happen again.


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#18 2024-11-14 21:26:34

fanderal
Member
Registered: 2017-01-14
Posts: 80  

Re: Firefox 128.3.1esr *not* clearing history on closing

Using FF 128.4.0esr on Ceres

Some time ago I also found FF keeping stuff I didn't want kept. In Settings > Search > Address Bar, there's a list under "When using the address bar, suggest" Although all were unchecked, suggestions from bookmarks and sites previously visited still showed up. Didn't matter that "Delete cookies and site data when Firefox is closed" and "Clear history when Firefox closes" were checked. Bleachbit wiped any further suggestions. This FF setting works now but is the info simply hidden?

In my fluxbox menu along with a script:

xterm -e 'bleachbit --preset -c && ~/scripts/./flashcache.sh'

The script deletes mozilla's cookies.sqlite, favicons.sqlite, bookmarkbackups, cleans ~/.dbus/session-bus, /tmp files and dirs in ~/.cache. I created a waterfox.xml cleaner for bleachbit and did the same when I replaced it with librewolf.

I don't expect to remain anonymous, just keep FF and LW (if possible) from knowing everything I do. I agree about excess SSD use yet I've been running bleachbit daily on this Crucial 120GB for ~10 years.

If interested in what Bleachbit's firefox cleaner does:
https://github.com/bleachbit/bleachbit/ … irefox.xml

Also if interested, open the user.js file (bottom of list) for about:config privacy/security settings at https://github.com/arkenfox/user.js

Offline

#19 2024-11-18 10:40:37

devur
Member
From: Denmark
Registered: 2017-05-29
Posts: 73  

Re: Firefox 128.3.1esr *not* clearing history on closing

Haw you tried out install firejail and firecfg, not that it will solve your problem with Firefox
Ther is also this link
https://dev1galaxy.org/viewtopic.php?pid=50477#p50477


Laptop lenovo
Desktop XFCE
Os Devuan GNU/Linux

Offline

Board footer