I just updated Firefox Nightly (2023-10-19) and it seems that about:config values are no longer detected by -moz-bool-pref().
Does anyone else have this issue. If so, is this just unintended behavior or is this permanent?
I just updated Firefox Nightly (2023-10-19) and it seems that about:config values are no longer detected by -moz-bool-pref().
Does anyone else have this issue. If so, is this just unintended behavior or is this permanent?
No, it does not work anymore - see bug 1859538
Instead the same can now be done with media query which is simply amazing. Format would be like this:
@media (-moz-bool-pref: "userChrome.some.testpref.enabled"){ #nav-bar{background: #f00 !important;} }
Apparently you no longer have to restart or refresh the CSS in order to see your config changes.
Imgur
(how do i embed video?)
@[email protected] could you help me with the syntax with not, or when I want use “or” or “and”, for example this not work:
@media ( not -moz-bool-pref:"firefoxgx.tab-shapes") {...}
The
not
keyword should be outside the parentheses. So like@media not (-moz-bool-pref: "firefoxgx.tab-shapes"){...}
deleted by creator
thanks. :)