为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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