Clean up and Update Official branding
@@ -1,57 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
# On Windows only do this step for browser, skip for metro.
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT) $(DIST_SUBDIR),windows browser)
|
||||
BRANDING_FILES := \
|
||||
firefox.ico \
|
||||
document.ico \
|
||||
branding.nsi \
|
||||
appname.bmp \
|
||||
bgintro.bmp \
|
||||
bgplain.bmp \
|
||||
clock.bmp \
|
||||
particles.bmp \
|
||||
pencil.bmp \
|
||||
pencil-rtl.bmp \
|
||||
wizHeader.bmp \
|
||||
wizHeaderRTL.bmp \
|
||||
wizWatermark.bmp \
|
||||
newwindow.ico \
|
||||
newtab.ico \
|
||||
pbmode.ico \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
||||
BRANDING_FILES := \
|
||||
background.png \
|
||||
firefox.icns \
|
||||
disk.icns \
|
||||
document.icns \
|
||||
dsstore \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
|
||||
BRANDING_FILES := \
|
||||
default16.png \
|
||||
default32.png \
|
||||
default48.png \
|
||||
mozicon128.png \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
BRANDING_DEST := $(DIST)/branding
|
||||
BRANDING_TARGET := export
|
||||
INSTALL_TARGETS += BRANDING
|
||||
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT) $(DIST_SUBDIR),windows metro)
|
||||
VISUALMANIFEST := VisualElementsManifest.xml
|
||||
VISUALMANIFEST_FLAGS := -Fsubstitution -DMOZ_APP_DISPLAYNAME=${MOZ_APP_DISPLAYNAME}
|
||||
VISUALMANIFEST_PATH := $(DIST)/bin
|
||||
PP_TARGETS += VISUALMANIFEST
|
||||
endif
|
||||
@@ -1,16 +0,0 @@
|
||||
<Application
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<VisualElements
|
||||
DisplayName="@MOZ_APP_DISPLAYNAME@"
|
||||
Logo="tileresources\VisualElements_logo.png"
|
||||
SmallLogo="tileresources\VisualElements_smalllogo.png"
|
||||
ForegroundText="light"
|
||||
BackgroundColor="#1895f5">
|
||||
<DefaultTile
|
||||
ShortName="@MOZ_APP_DISPLAYNAME@"
|
||||
ShowName="allLogos"
|
||||
/>
|
||||
<SplashScreen
|
||||
Image="tileresources\VisualElements_splashscreen.png" />
|
||||
</VisualElements>
|
||||
</Application>
|
||||
|
Before Width: | Height: | Size: 115 B |
|
Before Width: | Height: | Size: 666 KiB |
|
Before Width: | Height: | Size: 666 KiB |
|
Before Width: | Height: | Size: 8.8 KiB |
@@ -1,13 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# Branding Makefile
|
||||
# - jars chrome artwork
|
||||
|
||||
# resources needed for the metro tile interface
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT) $(DIST_SUBDIR),windows metro)
|
||||
TILE_FILES := $(wildcard $(srcdir)/VisualElements*)
|
||||
TILE_DEST := $(DIST)/bin/tileresources
|
||||
INSTALL_TARGETS += TILE
|
||||
endif
|
||||
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 90 KiB |
@@ -1,5 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DEFINES += -DAB_CD=$(AB_CD)
|
||||
@@ -1,7 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# Do NOT localize or otherwise change these values
|
||||
browser.startup.homepage=http://start.palemoon.org/
|
||||
browser.startup.homepage_reset=http://start.palemoon.org/
|
||||
@@ -8,4 +8,4 @@
|
||||
% locale branding @AB_CD@ %locale/branding/
|
||||
locale/branding/brand.dtd (%brand.dtd)
|
||||
locale/branding/brand.properties (%brand.properties)
|
||||
locale/branding/browserconfig.properties (browserconfig.properties)
|
||||
locale/branding/browserconfig.properties (../../shared/locales/browserconfig.properties)
|
||||
|
||||
@@ -4,13 +4,4 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DIRS += ['content', 'locales']
|
||||
|
||||
DIST_SUBDIR = 'browser'
|
||||
export('DIST_SUBDIR')
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
'pref/firefox-branding.js',
|
||||
]
|
||||
|
||||
DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
|
||||
include('../shared/branding.mozbuild')
|
||||
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 8.8 KiB |
@@ -1,138 +1,4 @@
|
||||
#filter substitution
|
||||
|
||||
// ****************** App/Update/General ******************
|
||||
|
||||
pref("startup.homepage_override_url","http://www.palemoon.org/releasenotes.shtml");
|
||||
pref("startup.homepage_welcome_url","http://www.palemoon.org/firstrun.shtml");
|
||||
// Interval: Time between checks for a new version (in seconds) -- 2 days for Pale Moon
|
||||
pref("app.update.interval", 172800);
|
||||
pref("app.update.auto", false);
|
||||
pref("app.update.enabled", true);
|
||||
// URL for update checks, re-enabled on palemoon.org (369)
|
||||
pref("app.update.url", "https://www.palemoon.org/update/%VERSION%/%BUILD_TARGET%/update.xml");
|
||||
pref("app.update.promptWaitTime", 86400);
|
||||
// The time interval between the downloading of mar file chunks in the
|
||||
// background (in seconds)
|
||||
pref("app.update.download.backgroundInterval", 600);
|
||||
// Give the user x seconds to react before showing the big UI. default=48 hours
|
||||
pref("app.update.promptWaitTime", 172800);
|
||||
// URL user can browse to manually if for some reason all update installation
|
||||
// attempts fail.
|
||||
pref("app.update.url.manual", "http://www.palemoon.org/");
|
||||
// A default value for the "More information about this update" link
|
||||
// supplied in the "An update is available" page of the update wizard.
|
||||
pref("app.update.url.details", "http://www.palemoon.org/releasenotes.shtml");
|
||||
// Additional Update fixes - no SSL damnit, I don't have a cert (4.0)
|
||||
pref("app.update.cert.checkAttributes", false);
|
||||
pref("app.update.cert.requireBuiltIn", false);
|
||||
// Make sure we shortcut out of a11y to save walking unnecessary code
|
||||
pref("accessibility.force_disabled", 1);
|
||||
|
||||
// ****************** Release notes and vendor URLs ******************
|
||||
|
||||
pref("app.releaseNotesURL", "http://www.palemoon.org/releasenotes.shtml");
|
||||
pref("app.vendorURL", "http://www.palemoon.org/");
|
||||
pref("app.support.baseURL", "http://www.palemoon.org/support/");
|
||||
pref("browser.mixedcontent.warning.infoURL", "http://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/mixed-content/");
|
||||
//Add-on window fixes
|
||||
pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/%LOCALE%/firefox");
|
||||
pref("extensions.getAddons.maxResults", 10);
|
||||
pref("extensions.getAddons.recommended.browseURL", "https://addons.palemoon.org/integration/addon-manager/external/recommended");
|
||||
pref("extensions.getAddons.recommended.url", "https://addons.palemoon.org/integration/addon-manager/internal/recommended?locale=%LOCALE%&os=%OS%");
|
||||
pref("extensions.getAddons.search.browseURL", "https://addons.palemoon.org/integration/addon-manager/external/search?q=%TERMS%");
|
||||
pref("extensions.getAddons.search.url", "https://addons.palemoon.org/integration/addon-manager/internal/search?q=%TERMS%&locale=%LOCALE%&os=%OS%&version=%VERSION%");
|
||||
pref("extensions.getMoreThemesURL", "https://addons.palemoon.org/integration/addon-manager/external/themes");
|
||||
pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/3/firefox/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/");
|
||||
pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/firefox/blocked/%blockID%");
|
||||
pref("extensions.webservice.discoverURL","http://addons.palemoon.org/integration/addon-manager/internal/discover/");
|
||||
pref("extensions.getAddons.cache.enabled", false);
|
||||
pref("extensions.getAddons.get.url","https://addons.palemoon.org/integration/addon-manager/internal/get?addonguid=%IDS%&os=%OS%&version=%VERSION%");
|
||||
pref("extensions.getAddons.getWithPerformance.url","https://addons.palemoon.org/integration/addon-manager/internal/get?addonguid=%IDS%&os=%OS%&version=%VERSION%");
|
||||
//Add-on updates: hard-code base Firefox version number.
|
||||
pref("extensions.update.background.url","https://addons.palemoon.org/integration/addon-manager/internal/update?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
|
||||
pref("extensions.update.url","https://addons.palemoon.org/integration/addon-manager/internal/update?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
|
||||
//Search engine fixes
|
||||
pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/firefox/search-engines/");
|
||||
//Dictionary URL
|
||||
pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/");
|
||||
//Geolocation info URL
|
||||
pref("browser.geolocation.warning.infoURL", "http://www.mozilla.com/%LOCALE%/firefox/geolocation/");
|
||||
//add-on/plugin blocklist -> Palemoon.org
|
||||
pref("extensions.blocklist.url","http://blocklist.palemoon.org/%VERSION%/blocklist.xml");
|
||||
pref("extensions.blocklist.itemURL", "http://blocklist.palemoon.org/info/?id=%blockID%");
|
||||
|
||||
// ****************** domain-specific UAs ******************
|
||||
#include ../../common/uaoverrides.inc
|
||||
|
||||
// ****************** Extensions/plugins ******************
|
||||
|
||||
pref("plugin.default.state", 2); //Allow plugins to run by default
|
||||
pref("plugin.expose_full_path", true); //Security: expose the full path to the plugin
|
||||
|
||||
// ****************** Renderer config ******************
|
||||
|
||||
pref("gfx.color_management.mode",2); //Use CMS for images with ICC profile.
|
||||
pref("gfx.color_management.enablev4", true); //Use "new" handler to prevent display issues for v4 ICC embedded profiles!
|
||||
|
||||
// ****************** UI config ******************
|
||||
|
||||
pref("browser.tabs.insertRelatedAfterCurrent", false); //use old method of tabbed browsing instead of "Chrome" style
|
||||
pref("browser.download.useDownloadDir", false); //don't use default download location as standard. ASK.
|
||||
pref("browser.search.context.loadInBackground", true); //don't swap focus to the context search tab.
|
||||
pref("browser.ctrlTab.previews", true);
|
||||
pref("browser.allTabs.previews", true);
|
||||
pref("browser.urlbar.trimURLs", false); //stop being a derp, Mozilla!
|
||||
pref("browser.identity.ssl_domain_display", 1); //show domain verified SSL (blue)
|
||||
pref("browser.urlbar.autoFill", true);
|
||||
pref("browser.urlbar.autoFill.typed", true);
|
||||
|
||||
//Set tabs NOT on top
|
||||
pref("browser.tabs.onTop",false);
|
||||
|
||||
// ****************** Security ******************
|
||||
|
||||
// Known embedding domains that do NOT do things properly and should provide
|
||||
// a filter-disabling header, but don't.
|
||||
pref("security.xssfilter.srcwhitelist", "googleusercontent.com,embed.ly,embedly.com,msads.net");
|
||||
|
||||
// Known embedded target domains that do things properly (no XSS vulnerability)
|
||||
pref("security.xssfilter.whitelist", "paypalobjects.com,yimg.com");
|
||||
|
||||
// ****************** Misc. config ******************
|
||||
|
||||
// Download manager
|
||||
pref("browser.download.manager.flashCount", 10);
|
||||
pref("browser.download.manager.scanWhenDone", false); //NIB, make sure to disable to prevent hangups
|
||||
pref("browser.altClickSave", true); //SBaD,M! (#2)
|
||||
|
||||
//plugin kill timeout
|
||||
pref("dom.ipc.plugins.timeoutSecs", 20);
|
||||
|
||||
//Automatically update extensions by default
|
||||
pref("extensions.update.autoUpdateDefault", true);
|
||||
|
||||
//Improve memory handling for js
|
||||
pref("javascript.options.mem.gc_per_compartment", true);
|
||||
pref("javascript.options.mem.high_water_mark", 64);
|
||||
pref("javascript.options.mem.max", -1);
|
||||
pref("javascript.options.gc_on_memory_pressure", true);
|
||||
pref("javascript.options.mem.disable_explicit_compartment_gc", true);
|
||||
//add IGC and adjust time slice
|
||||
pref("javascript.options.mem.gc_incremental",true);
|
||||
pref("javascript.options.mem.gc_incremental_slice_ms",20);
|
||||
|
||||
//DOM
|
||||
pref("dom.disable_window_status_change", false); //Allow status feedback by default
|
||||
//Set max script runtimes to sane values
|
||||
pref("dom.max_chrome_script_run_time", 90); //Some addons need ample time!
|
||||
pref("dom.max_script_run_time", 20); //Should be plenty for a page script to do what it needs
|
||||
|
||||
//Media components
|
||||
|
||||
//Image decoding tweaks
|
||||
pref("image.mem.max_ms_before_yield", 50);
|
||||
pref("image.mem.decode_bytes_at_a_time", 65536); //larger chunks
|
||||
|
||||
//store sessions less frequently to prevent redundant mem usage by storing too much
|
||||
pref("browser.sessionstore.interval",60000); //every minute instead of every 10 seconds
|
||||
pref("browser.sessionstore.privacy_level",1); //don't store session data (forms, etc) for secure sites
|
||||
#filter emptyLines
|
||||
#include ../../shared/pref/preferences.inc
|
||||
#include ../../shared/pref/uaoverrides.inc
|
||||
|
||||