為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Preventing "Firefox Updated" page/tab

  • 1 回覆
  • 18 有這個問題
  • 6 次檢視
  • 最近回覆由 RoiDesRois

more options

I currently have a terminal that is being loaded with a pre-generated boot image (not unlike a live CD), however when I created the image I used Firefox 3.6.8.

Last week I rebuilt the image with Firefox 3.6.10, yet all of my settings were still "linked" to 3.6.8, and as a result the "Firefox Updated" page is trying to load. This terminal will NOT have any means of access that site, and this terminal should NEVER ever show that page. It is configured to load a specific page, and only that page. Yet, no matter how I configure my prefs.js file, it always tries to show the "Firefox Updated" page, here are my settings:


user_pref("browser.migration.version", 0);
user_pref("browser.places.importBookmarksHTML", false);
user_pref("browser.places.smartBookmarksVersion", 2);
user_pref("browser.rights.3.shown", false);
user_pref("browser.sessionstore.resume_from_crash", false);
user_pref("browser.startup.homepage", "http://my_startup_site.com/index.php");
user_pref("browser.startup.homepage_override.mstone", "ignore");
user_pref("browser.tabs.warnOnClose", false);
user_pref("distribution.openSUSE.bookmarksProcessed", false);
user_pref("extensions.enabledItems", "susefox@opensuse.org:1.0.1,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.10");
user_pref("extensions.lastAppVersion", "3.6.10");
user_pref("extensions.update.autoUpdate", "false");
user_pref("extensions.update.autoUpdateEnabled", "false");
user_pref("extensions.update.notifyUser", false);
user_pref("intl.charsetmenu.browser.cache", "UTF-8");
user_pref("network.cookie.prefsMigrated", true);
user_pref("privacy.sanitize.migrateFx3Prefs", true);
user_pref("signon.rememberSignons", false);

Yet, when the system finishes booting I get this:

user_pref("app.update.lastUpdateTime.places-maintenance-timer", 1282780604);
user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1282780734);
user_pref("browser.migration.version", 1);
user_pref("browser.places.importBookmarksHTML", false);
user_pref("browser.places.smartBookmarksVersion", 2);
user_pref("browser.rights.3.shown", true);
user_pref("browser.sessionstore.resume_from_crash", false);
user_pref("browser.startup.homepage", "http://my_startup_site.com/index.php");
user_pref("browser.startup.homepage_override.mstone", "rv:1.9.2.8");
user_pref("browser.tabs.warnOnClose", false);
user_pref("distribution.openSUSE.bookmarksProcessed", true);
user_pref("extensions.enabledItems", "susefox@opensuse.org:1.0.1,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.10");
user_pref("extensions.lastAppVersion", "3.6.10");
user_pref("extensions.update.notifyUser", false);
user_pref("intl.charsetmenu.browser.cache", "UTF-8");
user_pref("network.cookie.prefsMigrated", true);
user_pref("privacy.sanitize.migrateFx3Prefs", true);
user_pref("signon.rememberSignons", false);
user_pref("urlclassifier.keyupdatetime.https://sb-ssl.google.com/safebrowsing/newkey", 1285372400);


The prefs.js file is downloaded the first time the system boots, if it requires an update, otherwise it simply uses what is on the disk. It is during the importing phase that this breaks.

As you can see in my first listing, I'm attempting to disable automatic updating of anything, and I've used a whole bunch of web-sites to try to get this to work. Based on all of the information I have looked over, I should be able to leave this as is:

user_pref("browser.startup.homepage_override.mstone", "ignore");

And simply update these:

user_pref("extensions.enabledItems", "susefox@opensuse.org:1.0.1,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.10"); user_pref("extensions.lastAppVersion", "3.6.10");

To what ever version is new. I'd prefer to not have to do anything at all. I want to be able to use the newer versions at will with out having to clear my profile, and not get that update page.

I currently have a terminal that is being loaded with a pre-generated boot image (not unlike a live CD), however when I created the image I used Firefox 3.6.8. Last week I rebuilt the image with Firefox 3.6.10, yet all of my settings were still "linked" to 3.6.8, and as a result the "Firefox Updated" page is trying to load. This terminal will NOT have any means of access that site, and this terminal should NEVER ever show that page. It is configured to load a specific page, and only that page. Yet, no matter how I configure my prefs.js file, it always tries to show the "Firefox Updated" page, here are my settings: <pre><nowiki>user_pref("browser.migration.version", 0); user_pref("browser.places.importBookmarksHTML", false); user_pref("browser.places.smartBookmarksVersion", 2); user_pref("browser.rights.3.shown", false); user_pref("browser.sessionstore.resume_from_crash", false); user_pref("browser.startup.homepage", "http://my_startup_site.com/index.php"); user_pref("browser.startup.homepage_override.mstone", "ignore"); user_pref("browser.tabs.warnOnClose", false); user_pref("distribution.openSUSE.bookmarksProcessed", false); user_pref("extensions.enabledItems", "susefox@opensuse.org:1.0.1,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.10"); user_pref("extensions.lastAppVersion", "3.6.10"); user_pref("extensions.update.autoUpdate", "false"); user_pref("extensions.update.autoUpdateEnabled", "false"); user_pref("extensions.update.notifyUser", false); user_pref("intl.charsetmenu.browser.cache", "UTF-8"); user_pref("network.cookie.prefsMigrated", true); user_pref("privacy.sanitize.migrateFx3Prefs", true); user_pref("signon.rememberSignons", false); Yet, when the system finishes booting I get this: user_pref("app.update.lastUpdateTime.places-maintenance-timer", 1282780604); user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1282780734); user_pref("browser.migration.version", 1); user_pref("browser.places.importBookmarksHTML", false); user_pref("browser.places.smartBookmarksVersion", 2); user_pref("browser.rights.3.shown", true); user_pref("browser.sessionstore.resume_from_crash", false); user_pref("browser.startup.homepage", "http://my_startup_site.com/index.php"); user_pref("browser.startup.homepage_override.mstone", "rv:1.9.2.8"); user_pref("browser.tabs.warnOnClose", false); user_pref("distribution.openSUSE.bookmarksProcessed", true); user_pref("extensions.enabledItems", "susefox@opensuse.org:1.0.1,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.10"); user_pref("extensions.lastAppVersion", "3.6.10"); user_pref("extensions.update.notifyUser", false); user_pref("intl.charsetmenu.browser.cache", "UTF-8"); user_pref("network.cookie.prefsMigrated", true); user_pref("privacy.sanitize.migrateFx3Prefs", true); user_pref("signon.rememberSignons", false); user_pref("urlclassifier.keyupdatetime.https://sb-ssl.google.com/safebrowsing/newkey", 1285372400); </nowiki></pre> The prefs.js file is downloaded the first time the system boots, if it requires an update, otherwise it simply uses what is on the disk. It is during the importing phase that this breaks. As you can see in my first listing, I'm attempting to disable automatic updating of anything, and I've used a whole bunch of web-sites to try to get this to work. Based on all of the information I have looked over, I should be able to leave this as is: user_pref("browser.startup.homepage_override.mstone", "ignore"); And simply update these: user_pref("extensions.enabledItems", "susefox@opensuse.org:1.0.1,{972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.10"); user_pref("extensions.lastAppVersion", "3.6.10"); To what ever version is new. I'd prefer to not have to do anything at all. I want to be able to use the newer versions at will with out having to clear my profile, and not get that update page.

由 cor-el 於 修改

所有回覆 (1)

more options

Use Prefs, lockPrefs or defaultPrefs in your file.

lockprefs obviously locks the setting so it can't be changed. Prefs allows per session changes then reverts back. defaultPrefs sets the settings and allows user changing.

You will also want to use the mozilla.cfg since we're at 7 now. http://kb.mozillazine.org/Locking_preferences

See my prefs question answered brilliantly by cor-el https://support.mozilla.com/en-US/questions/886352