Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Attempting to set new tab with firefox.cfg yields 'Failed to read the configuration file'

  • Akukho zimpendulo
  • 1 inale nkinga
more options

I'm attempting to set the new tab page using the autoconfig.cfg and autoconfig.js files. I have the following (Ubuntu 20.0.4):

/usr/lib/firefox/autoconfig.cfg ``` // set new tab page var {classes:Cc,interfaces:Ci,utils:Cu} = Components; aboutNewTabService = Cc[";1"].getService(Ci.nsIAboutNewTabService); aboutNewTabService.newTabURL = "file:///home/Desktop/index.html"; ```

/usr/lib/firefox/defaults/pref/autoconfig.js ``` pref("general.config.filename", "autoconfig.cfg"); pref("general.config.obscure_value", 0); pref("general.config.sandbox_enabled", false); ```

When I restart firefox, a dialogue pops up saying 'Failed to read the configuration file. Please contact your system administrator.' The new tab is unchanged. Am I doing something wrong? I've seen [thread] and believe I've followed everything that was said.

Kufanele ulogele ukungena ku-akhawunti yakho ukuze uphendule amaphosti. Uyacelwauqale umbuzo omusha, uma ungekabi nayo i-akhawunti namanje.