From 30cc819b77891ec4c097156670ecb5ce10b5d9c7 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 2 Jul 2018 23:40:33 +0200 Subject: Rename firefox(-branding).js to basilisk(*).js Bonus: combats some fingerprinting. --- .../branding/official/pref/basilisk-branding.js | 48 ++++++++++++++++++++++ .../branding/official/pref/firefox-branding.js | 48 ---------------------- 2 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 application/basilisk/branding/official/pref/basilisk-branding.js delete mode 100644 application/basilisk/branding/official/pref/firefox-branding.js (limited to 'application/basilisk/branding/official') diff --git a/application/basilisk/branding/official/pref/basilisk-branding.js b/application/basilisk/branding/official/pref/basilisk-branding.js new file mode 100644 index 000000000..190b84e78 --- /dev/null +++ b/application/basilisk/branding/official/pref/basilisk-branding.js @@ -0,0 +1,48 @@ +/* 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/. */ + +#filter substitution +#filter emptyLines + +// Set defines to construct URLs +#define BRANDING_BASEURL basilisk-browser.org +#define BRANDING_SITEURL www.@BRANDING_BASEURL@ +#define BRANDING_RELNOTESPATH releasenotes.shtml +#define BRANDING_FIRSTRUNPATH firstrun/ +#define BRANDING_APPUPDATEURL aus.@BRANDING_BASEURL@ +#define BRANDING_APPUPDATEPATH ?application=%PRODUCT%&version=%VERSION%&arch=%BUILD_TARGET%&buildid=%BUILD_ID%&channel=%CHANNEL% + +// Shared Branding Preferences +// XXX: These should REALLY go back to application preferences +#include ../../shared/preferences.inc + +// Branding Specific Preferences +pref("startup.homepage_override_url", "https://@BRANDING_SITEURL@/@BRANDING_RELNOTESPATH@"); +pref("startup.homepage_welcome_url", "http://@BRANDING_SITEURL@/@BRANDING_FIRSTRUNPATH@"); +pref("startup.homepage_welcome_url.additional", ""); + +// Version release notes +pref("app.releaseNotesURL", "http://@BRANDING_SITEURL@/@BRANDING_RELNOTESPATH@"); + +// Vendor home page +pref("app.vendorURL", "http://@BRANDING_SITEURL@/"); + +pref("app.update.url", "https://@BRANDING_APPUPDATEURL@/@BRANDING_APPUPDATEPATH@"); + +// URL user can browse to manually if for some reason all update installation +// attempts fail. +pref("app.update.url.manual", "https://@BRANDING_SITEURL@/"); +// 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", "https://@BRANDING_SITEURL@/@BRANDING_RELNOTESPATH@"); + +// Provide UA Gecko and Firefox slices for web compatibility +pref("general.useragent.compatMode.firefox",true); +pref("general.useragent.compatMode.gecko",true); + +// Switch Application Updates off for now +pref("app.update.enabled", false); + +// Shared User Agent Overrides +#include ../../shared/uaoverrides.inc diff --git a/application/basilisk/branding/official/pref/firefox-branding.js b/application/basilisk/branding/official/pref/firefox-branding.js deleted file mode 100644 index 190b84e78..000000000 --- a/application/basilisk/branding/official/pref/firefox-branding.js +++ /dev/null @@ -1,48 +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/. */ - -#filter substitution -#filter emptyLines - -// Set defines to construct URLs -#define BRANDING_BASEURL basilisk-browser.org -#define BRANDING_SITEURL www.@BRANDING_BASEURL@ -#define BRANDING_RELNOTESPATH releasenotes.shtml -#define BRANDING_FIRSTRUNPATH firstrun/ -#define BRANDING_APPUPDATEURL aus.@BRANDING_BASEURL@ -#define BRANDING_APPUPDATEPATH ?application=%PRODUCT%&version=%VERSION%&arch=%BUILD_TARGET%&buildid=%BUILD_ID%&channel=%CHANNEL% - -// Shared Branding Preferences -// XXX: These should REALLY go back to application preferences -#include ../../shared/preferences.inc - -// Branding Specific Preferences -pref("startup.homepage_override_url", "https://@BRANDING_SITEURL@/@BRANDING_RELNOTESPATH@"); -pref("startup.homepage_welcome_url", "http://@BRANDING_SITEURL@/@BRANDING_FIRSTRUNPATH@"); -pref("startup.homepage_welcome_url.additional", ""); - -// Version release notes -pref("app.releaseNotesURL", "http://@BRANDING_SITEURL@/@BRANDING_RELNOTESPATH@"); - -// Vendor home page -pref("app.vendorURL", "http://@BRANDING_SITEURL@/"); - -pref("app.update.url", "https://@BRANDING_APPUPDATEURL@/@BRANDING_APPUPDATEPATH@"); - -// URL user can browse to manually if for some reason all update installation -// attempts fail. -pref("app.update.url.manual", "https://@BRANDING_SITEURL@/"); -// 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", "https://@BRANDING_SITEURL@/@BRANDING_RELNOTESPATH@"); - -// Provide UA Gecko and Firefox slices for web compatibility -pref("general.useragent.compatMode.firefox",true); -pref("general.useragent.compatMode.gecko",true); - -// Switch Application Updates off for now -pref("app.update.enabled", false); - -// Shared User Agent Overrides -#include ../../shared/uaoverrides.inc -- cgit v1.2.3