How to disable Firefox add-ons update check on sta

2019-03-28 06:36发布

问题:

I start Firefox (Linux) via command line using a cron-job. When there is no update for the add-ons, it starts up normally, then I can tell it what to do. However if there is an update for an add-on, then it ask whether to take that update or not. I don't have the ability to detect the pop up window and choose no.

So, how can I disable all questions upon startup of Firefox?

Questions like:

  • Do you want to update add-ons?
  • Do you want to upgrade Firefox?
  • Do you want to open previous tabs or new session?

I pretty much would like to keep my version of Firefox the way it is and not have any questions asked.

When I start Firefox, I would like to have it start nice and clean without any questions.

回答1:

Unless the linux version is very different, under settings > advanced > updates, there are settings you can disable, that are concerned with the automatic searching for updates for firefoxx and its add ons.

In "about:config" you can set "Browser.sessionstore.enabled" to false, in which case firefox will not restore your tab state after a crashed browsing session.



回答2:

I went to about:config to search and disable all *.update.enabled

user_pref("app.update.enabled", false);,
user_pref("browser.search.update", false);
user_pref("extensions.update.enabled", false);

Otherwise it derails my Watir tests.



回答3:

Depending on what functionality you need while FF runs, you may want to look into the safe-mode switch when starting Firefox:

/path/to/firefox -safe-mode

http://kb.mozillazine.org/Safe_mode



回答4:

All those options should be in the standard settings of the application. From the command line, safe mode is what you want to look into.



回答5:

Reset Firefox to default settings from Help -> Troubleshooting information, it will keep your passwords cookies etc and you get clean start, I just did it few minutes ago, and it does work. No more addon check update every time( by the way I got that annoying thing when turned on automatic update for the firefox)