this post was submitted on 15 Jan 2024
21 points (95.7% liked)
Firefox
17899 readers
61 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
By observing the HTML of the about:preferences#privacy page, we can find that the checkbox "Cookies" has a preference value of
network.cookie.cookieBehavior
, as does the dropdown next to it, so that's the preference value that is changed.You can see in the console of about:preferences that if you type in
Services.prefs.getIntPref('network.cookie.cookieBehavior')
it will return a 1. You can also see this if you have about:config open as you are toggling the preferences dropdown - the value will change there.Hope that helps!
I can't believe I didn't think about checking the html :) I also didn't know that about:config updates in real time. I'd prefer to have a toggle like "changed items this session", but this does the job too.