Skip to content

Update Firefox from 57.0 to 57.0.1 and allow users to set preferences #540

Merged
merged 1 commit into from
Dec 5, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 24 additions & 21 deletions firefox.be0
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#export BEE_TMP_TMPDIR=/dev/shm BEE_TMP_BUILDROOT=/dev/shm/bee-root BEE_MAKEFLAGS='-j80'

# BEE_VERSION firefox-57.0-1
# BEE_VERSION firefox-57.0.1-0

SRCURL[0]="https://ftp.mozilla.org/pub/firefox/releases/${PKGVERSION}/source/firefox-${PKGVERSION}.source.tar.xz"

Expand Down Expand Up @@ -110,7 +110,7 @@ pref("plugins.notifyMissingFlash", false);
// Disable upload of health reports
lockPref("datareporting.healthreport.uploadEnabled", false);
//disable about:healthreport page (which connects to Mozilla for locale/css+js+json)
pref("datareporting.healthreport.about.reportUrl", "data:text/plain,");
lockPref("datareporting.healthreport.about.reportUrl", "data:text/plain,");

// Disable all data upload (Telemetry and FHR)
lockPref("toolkit.telemetry.unified", false);
Expand All @@ -127,18 +127,18 @@ lockPref("datareporting.policy.dataSubmissionEnabled", false);
lockPref("browser.ping-centre.telemetry", false);

//disable "Snippets" (Mozilla content shown on about:home screen)
lockPref("browser.aboutHomeSnippets.updateUrl", "https://127.0.0.1"); //test
defaultPref("browser.aboutHomeSnippets.updateUrl", "https://127.0.0.1"); //test

//disable experiments https://wiki.mozilla.org/Telemetry/Experiments
lockPref("experiments.enabled", false);
lockPref("experiments.manifest.uri", "");
lockPref("experiments.supported", false);
lockPref("experiments.activeExperiment", false);
defaultPref("experiments.enabled", false);
defaultPref("experiments.manifest.uri", "");
defaultPref("experiments.supported", false);
defaultPref("experiments.activeExperiment", false);
// disable Mozilla permission to silently opt you into tests
lockPref("network.allow-experiments", false);
defaultPref("network.allow-experiments", false);

//disable pocket
lockPref("extensions.pocket.enabled", false);
defaultPref("extensions.pocket.enabled", false);

//disable flyweb https://flyweb.github.io/
pref("dom.flyweb.enabled", false);
Expand All @@ -148,8 +148,8 @@ lockPref("extensions.shield-recipe-client.enabled", false);
lockPref("extensions.shield-recipe-client.api_url", "");

//disable Follow on Search and Activity Stream
lockPref("browser.newtabpage.activity-stream.enabled", false);
lockPref("browser.library.activity-stream.enabled", false);
defaultPref("browser.newtabpage.activity-stream.enabled", false);
defaultPref("browser.library.activity-stream.enabled", false);

//disable link-mouseover opening connection to linked server
lockPref("network.http.speculative-parallel-limit", 0);
Expand All @@ -158,11 +158,11 @@ lockPref("network.http.speculative-parallel-limit", 0);
lockPref("browser.send_pings", false);
lockPref("browser.send_pings.require_same_host", true);

//disable location bar using search - PRIVACY test
lockPref("keyword.enabled", false);
//disable location bar using search - PRIVACY
defaultPref("keyword.enabled", false);

//disable location bar domain guessing - PRIVACY/SECURITY
lockPref("browser.fixup.alternate.enabled", false);
defaultPref("browser.fixup.alternate.enabled", false);

//display all parts of the url in the location bar - helps SECURITY
lockPref("browser.urlbar.trimURLs", false);
Expand All @@ -171,23 +171,26 @@ lockPref("browser.urlbar.trimURLs", false);
lockPref("browser.urlbar.speculativeConnect.enabled", false);

//disable SSL session tracking test
lockPref("security.ssl.disable_session_identifiers", true);
defaultPref("security.ssl.disable_session_identifiers", true);

//disable SSL Error Reporting
lockPref("security.ssl.errorReporting.automatic", false);
lockPref("security.ssl.errorReporting.enabled", false);
lockPref("security.ssl.errorReporting.url", "");
defaultPref("security.ssl.errorReporting.automatic", false);
defaultPref("security.ssl.errorReporting.enabled", false);
defaultPref("security.ssl.errorReporting.url", "");

//disable the DNT HTTP header, which is essentially USELESS
lockPref("privacy.donottrackheader.enabled", false);
defaultPref("privacy.donottrackheader.enabled", false);

//set max popups from a single non-click event - default is 20!
lockPref("dom.popup_maximum", 3);
defaultPref("dom.popup_maximum", 3);

//limit events that can cause a popup default is "change click dblclick mouseup pointerup notificationclick reset submit touchend"
lockPref("dom.popup_allowed_events", "click dblclick");
defaultPref("dom.popup_allowed_events", "click dblclick");

//enable Firefox's built-in PDF reader
defaultPref("pdfjs.disabled", false);

//enable legacy extensions
defaultPref("extensions.legacy.enabled",true);
EOF
}