intika / Librefox

Librefox: Firefox with privacy enhancements
https://librefox.org
Mozilla Public License 2.0
1.71k stars 91 forks source link

Staying logged in after restarts #81

Closed LennyPenny closed 5 years ago

LennyPenny commented 5 years ago

Is there a setting I can tweak so session cookies can stay for at least a week or something?

It's very annoying to always have to log in to sites like github or youtube with 2FA.

Atavic commented 5 years ago

See: https://github.com/intika/Librefox/blob/f9d761dba604ba61f1ab2902352a33eaf034356d/librefox/mozilla.cfg#L105

LennyPenny commented 5 years ago

Oh awesome thanks! Will there be a way in the future to merge local changes with the librefox ones? My changes will probably be overwritten by the next librefox update

Atavic commented 5 years ago

Yep. Create your very own personal user-overrides.js

LennyPenny commented 5 years ago

Does this mean I will have to install ghacks alongisde librefox? (only their updater scripts makes use of user-overrides.js)

Atavic commented 5 years ago

user-overrides.js works the same way as a user.js but is appended to it, see: https://12bytes.org/articles/tech/firefox/firefoxgecko-configuration-guide-for-privacy-and-performance-buffs#editing_the_user-overridesjs_file

Atavic commented 5 years ago

4.1 Meine Empfehlung: ghacks-user.js

LennyPenny commented 5 years ago

Ah okay, so I will to use the theghacks updater script, as that functionality isn't included in librefox

androidacy-user commented 5 years ago

I'd advise less code editing. End users generally don't mess with code. If there is no visual setting for a desired functionality, they won't use the program

intika commented 5 years ago

@LennyPenny also check the line defaultPref("privacy.sanitize.timeSpan", 0); this could be edited directly on Firefox's settings page without editing the mozilla.cfg it's under "Preferences/Privacy/History/Clear history when Firefox closes"

Future version will have most of the settings integrated and manageable over the preferences pages... so you would may be need to redo your config for the future version but it would be easy and it will be kept over updates starting from the next release

intika commented 5 years ago

Don't hesitate to reply if you need further assistance ;)

LennyPenny commented 5 years ago

@intika thanks for that tip! I changed it in the settings page, but my history is still getting cleared every time I close librefox.

Is there a way to keep the history?

intika commented 5 years ago

Can you try under Preferences/Privacy/History select "Remember history" on the drop drown list

LennyPenny commented 5 years ago

Oooh thanks, got it now :)