File firefox-no-update-lite.patch of Package MozillaFirefox
Index: mozilla/browser/base/content/baseMenuOverlay.xul
===================================================================
--- mozilla.orig/browser/base/content/baseMenuOverlay.xul
+++ mozilla/browser/base/content/baseMenuOverlay.xul
@@ -97,11 +97,11 @@
label="&helpReleaseNotes.label;"
oncommand="openReleaseNotes(event)"
onclick="checkForMiddleClick(this, event);"/>
- <menuseparator id="updateSeparator"/>
<menuitem id="checkForUpdates"
accesskey="&updateCmd.accesskey;"
label="&updateCmd.label;"
class="menuitem-iconic"
+ hidden="true"
oncommand="checkForUpdates();"/>
<menuseparator id="aboutSeparator"/>
<menuitem id="aboutName"
Index: mozilla/browser/components/safebrowsing/content/report-phishing-overlay.xul
===================================================================
--- mozilla.orig/browser/components/safebrowsing/content/report-phishing-overlay.xul
+++ mozilla/browser/components/safebrowsing/content/report-phishing-overlay.xul
@@ -52,7 +52,7 @@
<menuitem id="menu_HelpPopup_reportPhishingtoolmenu"
label="&reportPhishSiteMenu.title2;"
accesskey="&reportPhishSiteMenu.accesskey;"
- insertbefore="updateSeparator"
+ insertbefore="aboutSeparator"
observes="reportPhishingBroadcaster"
oncommand="openUILink(safebrowsing.getReportURL('Phish'), event);"
onclick="checkForMiddleClick(this, event);"/>
Index: mozilla/browser/components/preferences/advanced.js
===================================================================
--- mozilla.orig/browser/components/preferences/advanced.js
+++ mozilla/browser/components/preferences/advanced.js
@@ -56,8 +56,13 @@ var gAdvancedPane = {
advancedPrefs.selectedTab = document.getElementById(extraArgs["advancedTab"]);
} else {
var preference = document.getElementById("browser.preferences.advanced.selectedTabIndex");
- if (preference.value === null)
- return;
+ if (preference.value === null){
+ this.updateAppUpdateItems();
+ this.updateAutoItems();
+ this.updateModeItems();
+ this.updateOfflineApps();
+ return;
+ }
advancedPrefs.selectedIndex = preference.value;
}
@@ -389,7 +394,9 @@ var gAdvancedPane = {
var enabledPref = document.getElementById("app.update.enabled");
var enableAppUpdate = document.getElementById("enableAppUpdate");
- enableAppUpdate.disabled = !aus.canUpdate || enabledPref.locked;
+ //enableAppUpdate.disabled = !aus.canUpdate || enabledPref.locked;
+ enableAppUpdate.disabled = true;
+ enableAppUpdate.hidden = true;
},
/**
Index: mozilla/browser/app/profile/firefox.js
===================================================================
--- mozilla.orig/browser/app/profile/firefox.js
+++ mozilla/browser/app/profile/firefox.js
@@ -89,12 +89,12 @@ pref("browser.dictionaries.download.url"
// App-specific update preferences
// Whether or not app updates are enabled
-pref("app.update.enabled", true);
+pref("app.update.enabled", false);
// This preference turns on app.update.mode and allows automatic download and
// install to take place. We use a separate boolean toggle for this to make
// the UI easier to construct.
-pref("app.update.auto", true);
+pref("app.update.auto", false);
// Defines how the Application Update Service notifies the user about updates:
//
@@ -105,13 +105,13 @@ pref("app.update.auto", true);
//
// See chart in nsUpdateService.js.in for more details
//
-pref("app.update.mode", 1);
+pref("app.update.mode", 2);
// If set to true, the Update Service will present no UI for any event.
pref("app.update.silent", false);
// Update service URL:
-pref("app.update.url", "https://aus2.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
+//pref("app.update.url", "https://aus2.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
// app.update.url.manual is in branding section
// app.update.url.details is in branding section