X
Tap here to go to the mobile version of the site.

Support Forum

AutoConfig.js stopped running after update to version 69

Posted

Hi. I've been using Autoconfig for a while and it's been working fine. However, after update to version 69. All of my preferences are reset to default. I tried to re-install but it still doesn't work. I don't know whether this is new policy from firefox or there are some bugs with new version.

Here is what's my autoconfig file and firefox.cfg look like

autoconfig.js

pref("general.config.filename", "firefox.cfg"); pref("general.config.obscure_value", 0);

firefox.cfg

// IMPORTANT: Start your code on the 2nd line pref("app.update.auto.migrated"; false); pref("media.autoplay.default", 0); pref("media.autoplay.allow-muted", false); pref("browser.shell.checkDefaultBrowser", false); pref("browser.sessionstore.resume_from_crash", false); pref("media.peerconnection.ice.proxy_only", true); pref("app.normandy.enabled", false); pref("browser.tabs.warnOnClose", false); pref("browser.newtabpage.activity-stream.feeds.snippets"; false);

Hi. I've been using Autoconfig for a while and it's been working fine. However, after update to version 69. All of my preferences are reset to default. I tried to re-install but it still doesn't work. I don't know whether this is new policy from firefox or there are some bugs with new version. Here is what's my autoconfig file and firefox.cfg look like autoconfig.js pref("general.config.filename", "firefox.cfg"); pref("general.config.obscure_value", 0); firefox.cfg // IMPORTANT: Start your code on the 2nd line pref("app.update.auto.migrated"; false); pref("media.autoplay.default", 0); pref("media.autoplay.allow-muted", false); pref("browser.shell.checkDefaultBrowser", false); pref("browser.sessionstore.resume_from_crash", false); pref("media.peerconnection.ice.proxy_only", true); pref("app.normandy.enabled", false); pref("browser.tabs.warnOnClose", false); pref("browser.newtabpage.activity-stream.feeds.snippets"; false);

Modified by REDOtter

Chosen solution

I see two lines where you used "; false" instead of ", false"

Any error in autoconfig.cfg will throw an exception and about the processing of the file. You can check the Browser Console for error messages.

  • "3-bar" menu button or Tools -> Web Developer
Read this answer in context 1
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17521 solutions 158427 answers

Chosen Solution

I see two lines where you used "; false" instead of ", false"

Any error in autoconfig.cfg will throw an exception and about the processing of the file. You can check the Browser Console for error messages.

  • "3-bar" menu button or Tools -> Web Developer
I see two lines where you used "; false" instead of ", false" Any error in autoconfig.cfg will throw an exception and about the processing of the file. You can check the Browser Console for error messages. *"3-bar" menu button or Tools -> Web Developer *https://developer.mozilla.org/en-US/Tools/Browser_Console
Was this helpful to you? 1
Quote

Question owner

cor-el said

I see two lines where you used "; false" instead of ", false" Any error in autoconfig.cfg will throw an exception and about the processing of the file. You can check the Browser Console for error messages.
  • "3-bar" menu button or Tools -> Web Developer

Thanks so much. I didn't see that mistake.

''cor-el [[#answer-1256791|said]]'' <blockquote> I see two lines where you used "; false" instead of ", false" Any error in autoconfig.cfg will throw an exception and about the processing of the file. You can check the Browser Console for error messages. *"3-bar" menu button or Tools -> Web Developer *https://developer.mozilla.org/en-US/Tools/Browser_Console </blockquote> Thanks so much. I didn't see that mistake.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17521 solutions 158427 answers

You're welcome.

I think that in current Firefox releases the Browser Console would display error messages in case of errors.

You're welcome. I think that in current Firefox releases the Browser Console would display error messages in case of errors.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.