this post was submitted on 15 Jan 2024
21 points (95.7% liked)
Firefox
20391 readers
59 users here now
/c/firefox
A place to discuss the news and latest developments on the open-source browser Firefox.
Rules
1. Adhere to the instance rules
2. Be kind to one another
3. Communicate in a civil manner
Reporting
If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.
founded 5 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.