Restore Previous settings

This commit is contained in:
BeatLink 2019-07-03 18:41:13 -05:00
parent 6430cdf9e7
commit 4a10722184
6 changed files with 35 additions and 17 deletions

View file

@ -1,6 +0,0 @@
#!/bin/bash
mv ./defaults/pref/local-settings.js ./settings/defaults/pref/local-settings.js;
mv ./distribution/policies.json ./settings/distribution/policies.json;
mv ./librewolf.cfg ./settings/librewolf.cfg;

View file

@ -1,7 +0,0 @@
#!/bin/bash
cp -r ./defaults/pref/local-settings.js ../
cp -r ./distribution/policies.json
cp -r ./../* ./

7
settings/disable_settings.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
# This script will move the settings back to the storage folder, disabling it
mv ../defaults/pref/local-settings.js ./defaults/pref/local-settings.js;
mv ../distribution/policies.json ./distribution/policies.json;
mv ../librewolf.cfg ./librewolf.cfg;

View file

@ -0,0 +1,21 @@
{
"policies": {
"AppUpdateURL": "",
"DisableAppUpdate": true,
"OverridePostUpdatePage": "",
"DisableMasterPasswordCreation": true,
"DisableFeedbackCommands": true,
"DisableFirefoxAccounts": true,
"DisableFirefoxStudies": true,
"DisableTelemetry": true,
"DisablePocket": true,
"DisableProfileImport": true,
"DisableSetDesktopBackground": true,
"DisableSystemAddonUpdate": true,
"DisableDeveloperTools": true
}
}

5
settings/enable_settings.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
cp ./defaults/pref/local-settings.js ../defaults/pref/local-settings.js;
cp ./distribution/policies.json ../distribution/policies.json;
cp ./librewolf.cfg ../librewolf.cfg;

View file

@ -78,9 +78,6 @@ lockPref("general.config.filename", "librewolf.cfg");
//
// ============================================================================================================================================
//to disable dev tools
// search for devtools.*.enabled in about:config
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : User Settings
// Bench Diff : +0/5000
@ -2651,7 +2648,8 @@ lockPref("browser.pagethumbnails.capturing_disabled", true);
// After other settings, this does not send any data to search.
// Pref : Disable Firefox Account
lockPref("identity.fxaccounts.enabled", false);
//lockPref("identity.fxaccounts.enabled", false); //Deprecated Active
// Already disabled in policies.json
// Pref : 2609: disable MathML (Mathematical Markup Language) (FF51+)
// [TEST] http://browserspy.dk/mathml.php