X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Having trouble with lockPref certain settings in Firefox4.

Kuphostiwe

I've been trying to lock down some settings using a .cfg file in Firefox 4. The file contents are below. Here's what I did:

  • I created mozilla.cfg.txt with the settings displayed below.
  • I used the moz-byteshift.pl script to encode the file.
  • I put the file name reference into all.js and double checked the offset was 13.
  • I copied both files to the firefox prog folder and greprefs folders respectively.
  • I also deployed override.ini to stop the initial IE import wizard.

Here's what I put in the file. What am I doing wrong? Let me know. Thanks.

//Don't check for automatic updates:
lockPref("app.update.enabled", false);

// May want to enhance with:
//   lockPref("extensions.update.enabled", false);
//   lockPref("app.update.autoUpdateEnabled", false);

//Set proxy type to enable proxy.pac file:
lockPref("network.proxy.type", 2);

//Don't check if FF is default browser:
lockPref("browser.shell.checkDefaultBrowser", false);

//Disable FF4.x hardware acceleration:
//Doesn't look like these settings effect earlier vers.
lockPref("layers.acceleration.disabled", true);
lockPref("gfx.direct2d.disabled", true);
I've been trying to lock down some settings using a .cfg file in Firefox 4. The file contents are below. Here's what I did: * I created mozilla.cfg.txt with the settings displayed below. * I used the moz-byteshift.pl script to encode the file. * I put the file name reference into all.js and double checked the offset was 13. * I copied both files to the firefox prog folder and greprefs folders respectively. * I also deployed override.ini to stop the initial IE import wizard. Here's what I put in the file. What am I doing wrong? Let me know. Thanks. <pre><nowiki>//Don't check for automatic updates: lockPref("app.update.enabled", false); // May want to enhance with: // lockPref("extensions.update.enabled", false); // lockPref("app.update.autoUpdateEnabled", false); //Set proxy type to enable proxy.pac file: lockPref("network.proxy.type", 2); //Don't check if FF is default browser: lockPref("browser.shell.checkDefaultBrowser", false); //Disable FF4.x hardware acceleration: //Doesn't look like these settings effect earlier vers. lockPref("layers.acceleration.disabled", true); lockPref("gfx.direct2d.disabled", true);</nowiki></pre>

Okulungisiwe ngu cor-el

Eminye Imininingwane Yohlelo

Fakela amapulagi

  • Adobe PDF Plug-In For Firefox and Netscape
  • Shockwave Flash 10.2 r153
  • LogMeIn, Inc. Remote Access Components
  • Citrix ICA Client Plugin (Win32)
  • RealJukebox Netscape Plugin
  • RealPlayer(tm) LiveConnect-Enabled Plug-In
  • 6.0.12.448
  • Default Plug-in
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Java(TM) Platform SE binary
  • Office Plugin for Netscape Navigator
  • Adobe Shockwave for Director Netscape plug-in, version 11.5
  • GEPlugin
  • 4.0.50917.0
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • Google Update
  • Java Plug-in 1.6.0_13 for Netscape Navigator (DLL Helper)
  • DRM Netscape Network Object
  • Npdsplay dll
  • DRM Store Netscape Plugin

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)

Eminye Imininingwane

cor-el
  • Top 10 Contributor
  • Moderator
17687 izisombululo 160003 izimpendulo
Kuphostiwe

Firefox 4 doesn't use a separate file all.js. In Firefox 43 all those files are packed in one omni.jar (ZIP) archive.

You can place a file local-settings.js in the defaults\pref folder to specify using mozilla.cfg.

See:

If you need to initialize other files in a new profile then you can create a \defaults\profile\ template folder.

Firefox 4 doesn't use a separate file all.js. In Firefox 43 all those files are packed in one omni.jar (ZIP) archive. You can place a file local-settings.js in the defaults\pref folder to specify using mozilla.cfg. See: * http://kb.mozillazine.org/Locking_preferences If you need to initialize other files in a new profile then you can create a \defaults\profile\ template folder.