Will ''clear history on exit' get synced to other profiles? Topic is solved

Anything to do with the Pale Moon Sync service.
Locked
User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3270
Joined: 2015-12-09, 15:45
Contact:

Will ''clear history on exit' get synced to other profiles?

Post by moonbat » 2020-06-07, 13:34

I have a separate profile for testing that's synced to my regular one so I can share browser history and logins. I don't have any other addons on this, so if I set it to selectively wipe history on exit (cookies and cache, to get rid of tracking cookies and downloaded ads), will that setting affect my main profile as well?
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Will ''clear history on exit' get synced to other profiles?

Post by adesh » 2020-06-07, 15:15

moonbat wrote:
2020-06-07, 13:34
cookies and cache,
I don't think cookies and cache are synced.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3270
Joined: 2015-12-09, 15:45
Contact:

Re: Will ''clear history on exit' get synced to other profiles?

Post by moonbat » 2020-06-07, 15:34

I mean the setting to clear them, not the actual cookies and cache.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Will ''clear history on exit' get synced to other profiles?

Post by adesh » 2020-06-07, 16:54

For preferences, you can probably search about:config for "sync.prefs" and see if the preference is listed there.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 30194
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Will ''clear history on exit' get synced to other profiles?

Post by Moonchild » 2020-06-07, 22:14

cookies and cache are not synced. That would make no sense anyway (especially for cache! think about it...) since that is by definition local data, and the last thing you want to do is confuse session information by duplicating it across multiple browsers.
As for history... if you clear it on shutdown and you synchronize it as well, I think the history will get re-synched on next sync connection from the sync server (so it won't be cleared if you clear it on exit), but it shouldn't clear history from other linked browsers.
HOWEVER: If you want that testing setup to be without local history then deselect syncing history in sync preferences.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3270
Joined: 2015-12-09, 15:45
Contact:

Re: Will ''clear history on exit' get synced to other profiles?

Post by moonbat » 2020-06-08, 05:04

Moonchild wrote:
2020-06-07, 22:14
As for history... if you clear it on shutdown and you synchronize it as well, I think the history will get re-synched on next sync connection from the sync server (so it won't be cleared if you clear it on exit), but it shouldn't clear history from other linked browsers.
Thanks. What I meant was since preferences are also synced, would that setting to clear on exit be also synced to main profile, since I don't want my main profile to clear history on exit, only this one?
I want to know if it is possible or makes sense that I have history synced with my main profile yet cookies/cache cleared when I exit the additional profile without also enabling clear on exit in the main profile.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 30194
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Will ''clear history on exit' get synced to other profiles?

Post by Moonchild » 2020-06-08, 11:10

Only a specific subset of preferences is synced (you wouldn't want to e.g. sync os-specific prefs).
All these preferences are in about:config as services.sync.prefs.sync.{name of pref} booleans. If not present, the pref won't be synced. If present, the pref will only be synced if set to "true".

So if you want to prevent that setting from being synced, set services.sync.prefs.sync.privacy.clearOnShutdown.history to false.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3270
Joined: 2015-12-09, 15:45
Contact:

Re: Will ''clear history on exit' get synced to other profiles?

Post by moonbat » 2020-06-08, 11:51

Thanks :)
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Will ''clear history on exit' get synced to other profiles?

Post by adesh » 2020-06-08, 13:42

Off-topic:
I guess you missed my reply, moonbat! But yes, Moonchild's answer is more credible regarding sync.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3270
Joined: 2015-12-09, 15:45
Contact:

Re: Will ''clear history on exit' get synced to other profiles?

Post by moonbat » 2020-06-08, 14:16

Off-topic:
adesh wrote:
2020-06-08, 13:42
I guess you missed my reply, moonbat! But yes, Moonchild's answer is more credible regarding sync.
You're right, saw it only now!
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Locked