2022-09-09 10:34:58 +00:00
|
|
|
// vim:ft=javascript
|
|
|
|
|
|
|
|
// Enable Google safe browsing
|
|
|
|
pref("browser.safebrowsing.malware.enabled", true);
|
|
|
|
pref("browser.safebrowsing.phishing.enabled", true);
|
|
|
|
pref("browser.safebrowsing.blockedURIs.enabled", true);
|
|
|
|
pref(
|
|
|
|
"browser.safebrowsing.provider.google4.gethashURL",
|
|
|
|
"https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST"
|
|
|
|
);
|
|
|
|
pref(
|
|
|
|
"browser.safebrowsing.provider.google4.updateURL",
|
|
|
|
"https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=%GOOGLE_SAFEBROWSING_API_KEY%&$httpMethod=POST"
|
|
|
|
);
|
|
|
|
pref(
|
|
|
|
"browser.safebrowsing.provider.google.gethashURL",
|
|
|
|
"https://safebrowsing.google.com/safebrowsing/gethash?client=SAFEBROWSING_ID&appver=%MAJOR_VERSION%&pver=2.2"
|
|
|
|
);
|
|
|
|
pref(
|
|
|
|
"browser.safebrowsing.provider.google.updateURL",
|
|
|
|
"https://safebrowsing.google.com/safebrowsing/downloads?client=SAFEBROWSING_ID&appver=%MAJOR_VERSION%&pver=2.2&key=%GOOGLE_SAFEBROWSING_API_KEY%"
|
|
|
|
);
|
|
|
|
|
|
|
|
// Disable letterboxing
|
|
|
|
pref("privacy.resistFingerprinting.letterboxing", false);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Disable RFP because I want automatic dark mode on websites
|
|
|
|
* that support it
|
|
|
|
*/
|
|
|
|
pref("privacy.resistFingerprinting", false);
|
|
|
|
|
|
|
|
pref("privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts", false);
|
|
|
|
|
|
|
|
// Scan downloads for suspicious files
|
|
|
|
pref("browser.safebrowsing.downloads.enabled", true);
|
|
|
|
|
|
|
|
// Disable WebGL
|
2022-09-23 10:14:33 +00:00
|
|
|
pref("webgl.disabled", false);
|
2022-09-09 10:34:58 +00:00
|
|
|
|
|
|
|
// Enable Firefox Sync
|
|
|
|
pref("identity.fxaccounts.enabled", true);
|
|
|
|
|
|
|
|
// Don't clear browsing history on shutdown
|
|
|
|
pref("privacy.clearOnShutdown.history", false);
|
|
|
|
|
|
|
|
// Clear download history on shutdown
|
|
|
|
pref("privacy.clearOnShutdown.downloads", true);
|