익명 11:40

Where to find references to current Firefox preferences?

Where to find references to current Firefox preferences?

I used to be reasonably confident taking the list of Firefox preferences, and the explanations of their meanings, from https://kb.mozillazine.org. But that site has always been unofficial, and now, alas, it also seems to be unmaintained. So unless I can find a direct explanation of a particular pref on Mozilla's own support pages, which are not really meant as a systematic reference, I am shooting in the dark.

As an example, I'd like to make the browser behavior around focus on page elements more consistent and explicit. Mozilla Zine’s list prefs:

  • browser.display.focus_ring_on_anything
  • browser.display.use_focus_colors
  • browser.display.focus_background_color

But these don't seem to actually exist in prefs.js, and when I try adding them, they seem to have no effect. On the other hand, my current prefs.js contains these:

  • browser.display.always_show_rings_after_key_focus
  • browser.display.show_focus_rings

About which Mozilla Zine is silent.

I don't expect an answer about these particular prefs here. My point is that the state of Firefox is now quite different from the snapshot taken by Mozilla Zine, and I see no obvious replacement.

Please do not suggest asking Mozilla support, and please do not ask me why. If you can't immediately know why that answer is not acceptable, your use of computers and the web and mine are too different for us to communicate about them.

If there is no knowledge about the current prefs in a human readable format, I'd be willing to use a tool to extract such information from the Firefox source code. Can anyone suggest such a tool? Or, at least, and I'm really desperate now, an algorithm for doing that?

I don't think it matters, but I use Linux of the Debian/Ubuntu flavor. But I use current stable Firefox, not the ESR branch in Debian.

One of the comments suggests a LLM. No. I'm not willing to speed up my demise, in the long term, for a short term benefit. I'm baffled why so few other people take this view.



Top Answer/Comment:

The only fully viable reference is the source code, which of course you need to be able to read, at least to extent. There's a tool called Searchfox that can look up various types of phrases, including regex ones, in various Firefox versions.

Checking some of the settings you listed brought me to this StaticPrefList.yaml file, which lists a ton of preferences, their defaults and even has descriptions for them. Example:

# Whether we should always enable focus rings after focus was moved by keyboard.
#
# This behavior matches both historical and GTK / Windows focus behavior.
#
# :focus-visible is intended to provide better heuristics than this.
- name: browser.display.always_show_rings_after_key_focus
  type: bool
  value: false
  mirror: always
상단 광고의 [X] 버튼을 누르면 내용이 보입니다