Settings storage Resetting is tedious
#1
Posted 2020-November-27, 10:50
For some reason my BBO cookies expire once or twice a month. Whenever they expire they take my preferences with them and I have to reset exactly the same settings.
Every.
Single.
Time.
I have a cookie manager add-on for Firefox and even that can't prevent BBO cookies expiring.
This is absurd.
#2
Posted 2020-November-27, 12:07
#3
Posted 2020-November-28, 10:17
fromageGB, on 2020-November-27, 12:07, said:
I mean why aren't they stored with my account on BBO? (To me, local storage means my own computer.)
Once or twice a month BBO just plain forgets who I am. Cookie expiry seems to be the culprit.
#4
Posted 2020-November-28, 16:19
In firefox you can see yours by logging into BBO then open the three-line firefox menu. selecting Web Developer / Storage Inspector. Your BBO stuff is shown then, opened on cookies, but the content is not that meaningful to me. Click on local storage and you will see all your settings. They will not appear if you have not changed the default, but once you click on the slider blob to change one, it will thereafter appear always, with y or n as your chosen option - these are easily observed.
As you can see, the settings are held in local storage, and "cookies" are not to blame, although something may be deleting your local storage. Do you periodically run some clean-up program that might be clearing caches?
Firefox has good control over this stuff - why do you have a cookie manager add-on? I have my basic firefox set (3-line menu / preferences / privacy and security) to custom, blocking all third-party cookies, and beneath, under cookies and site data, I have ticked "delete cookies and site data when firefox is closed", and to the right of that click "manage exceptions" and add the web site address www.bridgebase.com and click "allow". (Firefox prepends http:// https:// itself.)
As I said, my settings are retained happily. Conversely, data for websites that I do not wish to retain are removed on exit - completely unlike chrome / chromium which is supposed to delete but does not - which is why I switched.
#5
Posted 2020-November-29, 13:52
I started using a cookie manager because CCleaner became something I wouldn't leave on my computer.
#6
Posted 2020-November-29, 15:09
#7
Posted 2020-December-08, 16:57
Tonight, BBO has once again forgotten who I am and taken my settings with it.
It doesn't happen to my wife's computer.
Another misery for the ages.
#8
Posted 2020-December-09, 17:58
You can view the saved information in Firefox by going to Tools->Web Developer->Storage Inspector, expand Local Storage and then click on www.bridgebase.com.
I'm not sure what would be causing them to be wiped, it's not something our software does, unless you click on "Restore Defaults". The per-user settings all have keys beginning with the username, e.g. I have key=barmar_playing_pictures, value=n because I've selected diagram mode when playing.
#9
Posted 2020-December-09, 23:51
barmar, on 2020-December-09, 17:58, said:
You can view the saved information in Firefox by going to Tools->Web Developer->Storage Inspector, expand Local Storage and then click on www.bridgebase.com.
I finally resorted to checking all the BBO cookie-related stuff in local storage and changed anything expiring in 2020 to 2021; I'll know by December 17 if it worked.
Why this happens on my computer and not my wife's is beyond me.
#10
Posted 2020-December-10, 10:56
morecharac, on 2020-December-09, 23:51, said:
Cookies and Local Storage are different.
There are no expiration times in Local Storage. Cookies have expiration times, but that's not where the BBO account settings are saved.
#12
Posted 2020-December-10, 15:21
#14
Posted 2020-December-11, 09:38
#15
Posted 2020-December-12, 02:22
Create a bookmark with a following content:
javascript:(["bbstar","you_other_username"].forEach(userID=>{localStorage[userID+"_general_animate"]="n";localStorage[userID+"_general_sound"]="n";localStorage[userID+"_keyboard_entry"]="y";}))
This will disable animations and sound, and enable keyboard entry.
Make sure to use your own username. Add/remove the settings if necessary.
Testing:
1. Make sure to reset the settings in bbo.
2. Close browser (or bbo tab).
3. Open BBO tab.
4. Click the bookmark
5. Login to BBO
6. Voila, the settings are updated.
#16
Posted 2020-December-13, 17:34
mycroft, on 2020-December-11, 09:38, said:
No, neither condition applies.
I sometimes log out of BBO, sometimes just close the tab. Neither seems associated with forgetting my local settings.
I'll know in five days if my suspicion about an expiring cookie or setting is the culprit. If not, I'll give bbstar's suggestion a try.
#17
Posted 2020-December-21, 10:24
bbstar, on 2020-December-12, 02:22, said:
Create a bookmark with a following content:
javascript:(["bbstar","you_other_username"].forEach(userID=>{localStorage[userID+"_general_animate"]="n";localStorage[userID+"_general_sound"]="n";localStorage[userID+"_keyboard_entry"]="y";}))
This will disable animations and sound, and enable keyboard entry.
Make sure to use your own username. Add/remove the settings if necessary.
Testing:
1. Make sure to reset the settings in bbo.
2. Close browser (or bbo tab).
3. Open BBO tab.
4. Click the bookmark
5. Login to BBO
6. Voila, the settings are updated.
I don't think my javascript understanding was good enough to handle this even fifteen years ago. Could you please walk me through what I'm substituting where?
Changing expiry dates on cookies accomplished about as much as whispering in a wind tunnel.
#18
Posted 2020-December-21, 13:42
The "solution" by bbstar above isn't actually a solution at all, just a slighter quicker way to re-enter all of the settings you want to use after you've noticed they've disappeared without doing them one by one in BBO. Which is therefore still going to require you to do this once or twice a month. But exactly what code to use will depend on which settings you want to change.
#19
Posted 2020-December-21, 16:50
smerriman, on 2020-December-21, 13:42, said:
The "solution" by bbstar above isn't actually a solution at all, just a slighter quicker way to re-enter all of the settings you want to use after you've noticed they've disappeared without doing them one by one in BBO. Which is therefore still going to require you to do this once or twice a month. But exactly what code to use will depend on which settings you want to change.
The cookie manager's been gone since shortly after asking for help. The problem still occurs.
The only add-on I could see possibly making any difference is NoScript and then only if BBO is using some intermittent invisible script on logout. But my wife uses it as well and has no trouble being remembered.
Still stumped. Still frustrated.
In retrospect, I wonder if AdBlocker Ultimate is the culprit.
#20
Posted 2021-January-15, 04:46
morecharac, on 2020-December-21, 10:24, said:
Changing expiry dates on cookies accomplished about as much as whispering in a wind tunnel.
Creating a bookmark:
1. Replace "bbstar" with your username "morecharac".
2. Copy the stuff (starting with "javascript", ending with the braces).
3. Create a bookmark in browser.
3a. Title: bbo cookies
3b. Url: Paste whatever you copied.