Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

differences and interchangibility of pref(); user_pref(); and lockPref();

  • 1 përgjigje
  • 0 e kanë hasur këtë problem
  • 7 parje
  • Përgjigjja më e re nga Mike Kaply

more options

Firefox is used on Windows 11 Enterprise. There is a firefox.cfg in the installation directory (and an autoconfig.js in the ./defaults/pref sub-directory). The firefox.cfg targets an autoconfigfile.js. This setup is recommended here: [firefox using autoconfig"]

  1. In the support article´s example, the firefox.cfg uses a pref(); expression. Is it possible to use a lockPref(); expression instead?
  2. What is the result of either using pref(); expressions or user_pref(); expressions in the remoted autoconfigfile.js? Are both of them possible, especially while the firefox.cfg uses lockPref(); expressions instead of pref();?

I hope that somesone can help with one of these questions. Thanks a lot!

Firefox is used on Windows 11 Enterprise. There is a ''firefox.cfg'' in the installation directory (and an ''autoconfig.js'' in the ./defaults/pref sub-directory). The ''firefox.cfg'' targets an ''autoconfigfile.js''. This setup is recommended here: [[https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig#w_centralized-management|"customizing firefox using autoconfig"]] # In the support article´s example, the ''firefox.cfg'' uses a '''pref();''' expression. Is it possible to use a '''lockPref();''' expression instead? # What is the result of either using '''pref();''' expressions or '''user_pref();''' expressions in the remoted ''autoconfigfile.js''? Are both of them possible, especially while the ''firefox.cfg'' uses '''lockPref(); '''expressions instead of '''pref();'''? I hope that somesone can help with one of these questions. Thanks a lot!

Ndryshuar nga fortuna90

Krejt Përgjigjet (1)

more options

The cfg files and a regular pref file are two completely different things (event though the syntax looks similar at first glance)

The CFG file is running Javascript and calling functions to execute the various things (like lockPref).

The autoconfigfile.js is a specific JS file format used for storing preferences.

To answer your specific questions.

1. Per that article, you can use any of the functions in a CFG file like pref, lockPref, defaultPref, etc. 2. In a regular JS file, pref sets a default pref (defaultPref in an autoconfig file) and user_pref sets a user preference (pref in an autoconfig file)

E dobishme?

Bëni një pyetje

Duhet të bëni hyrjen te llogaria juaj që t’i përgjigjeni postimeve. Ju lutemi, filloni me një pyetje të re, nëse nuk keni ende një llogari.