HypersomniacLive: @grimwerk
Please let me know if I'm on the right track here or not.
I logged off from GOG and then back in and all the changes I made trhough the options in prefs were reverted back to the "default" settings.
I guess I have to make the changes within the script?
Help?
grimwerk: Hyper, that's not by design. I have a suspicion:
When you are logged in, the forum address is
https://secure.gog.com/etc.
When you log out, it reverts to
http://www.gog.com/etc.
The preferences data is stored on your machine and automatically associated with the URL. That is, google.com can't access your gog.com data and vice versa. Likewise, secure.gog.com can't touch data associated with www.gog.com and vice versa. That's my best first guess.
Ahh.
I have another guess, if that doesn't apply. Gog.com actually stores its own info in localStorage, too. When you log out, maybe they blank everything they find in localStorage, including your gognix preferences. I hope not.
I'll poke around. Please let me know if my first guess is correct. Does logging back in recover the preferences?
Sorry for the late reply, I had already gone ahead and stored my changes in the script, so I had to install your original script to do some testing before reporting back.
You first guess is not the case - the HTTPS Everywhere add-on makes sure that any GOG url address is always ttps://secure.gog.com/*, regardless of logged in or out.
Besides, I kept both sets of includes, so it shouldn't be an issue to begin with, right?
I did some testing and I can report the following:
1. As long as I keep Firefox running:
1.1 I can log out, clear my cookies & disable javascript and then log in back to GOG, after allowing cookies and javascript, and my settings stick.
1.2 If I stay logged out, the default settings "overwrite" my own.
2. But if I close/ exit Firefox, start it up again and log in to GOG then all my settings are gone.
I think it's got to do with my Firefox setting in "Clear history when Firefox closes" (Options>Privacy). I have everything ticked there, except for "Site Preferences". I guess it's got something to with either Cache or Offline Website Data?
As I said, I went ahead and put all my settings in the script.
I also keep a back up so I can relatively easily restore those lines in the case of an update.
Hope this helps a bit.
Any advice?