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

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

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

Unread 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 21 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?

Unread 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: 4942
Joined: 2015-12-09, 15:45
Contact:

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

Unread 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 21 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?

Unread 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: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

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

Unread 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.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

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

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

Unread 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 21 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: 35402
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

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

Unread 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.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

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

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

Unread 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 21 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?

Unread 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: 4942
Joined: 2015-12-09, 15:45
Contact:

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

Unread 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 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Locked