Move settings to seperate repo

This commit is contained in:
BeatLink 2019-08-16 19:53:50 -05:00
parent 2e23b2b634
commit fbc0ce8643
4 changed files with 0 additions and 3163 deletions

View file

@ -1,7 +0,0 @@
// Sets up the .cfg file.
//Specifies the .cfg filename (path cannot be changed)
pref("general.config.filename", "librewolf.cfg");
//Allows .cfg file to be stored in plain text without obfuscation
pref("general.config.obscure_value", 0);

View file

@ -1,130 +0,0 @@
{
"__COMMENT__ More Information": "https://github.com/mozilla/policy-templates/blob/master/README.md",
"policies": {
"AppUpdateURL": "https://localhost",
"DisableAppUpdate": true,
"OverridePostUpdatePage": "",
"DisableSystemAddonUpdate": true,
"DisableFirefoxAccounts": true,
"DisableProfileImport": false,
"DisableMasterPasswordCreation": true,
"DisableFirefoxStudies": true,
"DisableTelemetry": true,
"DisableFeedbackCommands": true,
"DisablePocket": true,
"DisableSetDesktopBackground": false,
"DisableDeveloperTools": false,
"DNSOverHTTPS": {
"Enabled": true,
"ProviderURL": "https://dns.quad9.net/dns-query",
"Locked": false
},
"Bookmarks": [
{
"Title": "Library",
"URL": "chrome://browser/content/places/places.xul",
"Placement": "menu",
"Folder": "LibreWolf"
},
{
"Title": "Restart LibreWolf",
"URL": "about:restartrequired",
"Placement": "menu",
"Folder": "LibreWolf"
},
{
"Title": "Advanced Preferences",
"URL": "about:config",
"Placement": "menu",
"Folder": "LibreWolf"
},
{
"Title": "All about pages",
"URL": "about:about",
"Placement": "menu",
"Folder": "LibreWolf"
},
{
"Title": "LibreWolf Profiles",
"URL": "about:profiles",
"Placement": "menu",
"Folder": "LibreWolf"
}
],
"WebsiteFilter": {
"Block": ["https://localhost/*"],
"Exceptions": ["https://localhost/*"]
},
"Extensions": {
"Install": ["https://addons.mozilla.org/firefox/downloads/file/3027669/ublock_origin-1.20.0-an+fx.xpi"],
"Uninstall": [""],
"Locked": [""]
},
"SearchEngines": {
"PreventInstalls": false,
"Default": "DuckDuckGo",
"Remove": ["Google", "Bing", "Amazon.com", "eBay", "Twitter"],
"Add": [
{
"Name": "Searx",
"Alias": "",
"Description": "A privacy-respecting, hackable metasearch engine",
"URLTemplate": "https://www.searx.me/?q={searchTerms}",
"SuggestURLTemplate": "https://www.searx.me/?q={searchTerms}",
"IconURL": "https://www.searx.me/static/themes/oscar/img/favicon.png",
"Method": "GET"
},
{
"Name": "StartPage",
"Alias": "",
"Description": "The world's most private search engine",
"URLTemplate": "https://www.startpage.com/do/search?query={searchTerms}",
"SuggestURLTemplate": "https://www.startpage.com/do/search?query={searchTerms}",
"IconURL": "https://www.startpage.com/assets/images/logo-180x180.png",
"Method": "GET"
},
{
"Name": "Jive Search",
"Alias": "",
"Description": "A search engine that doesn't track you.",
"URLTemplate": "https://jivesearch.com/?q={searchTerms}",
"SuggestURLTemplate": "https://jivesearch.com/?q={searchTerms}",
"IconURL": "https://jivesearch.com/static/icons/favicon.ico",
"Method": "GET"
},
{
"Name": "Quant",
"Alias": "",
"Description": "The search engine that respects your privacy.",
"URLTemplate": "https://www.qwant.com/?q={searchTerms}",
"SuggestURLTemplate": "https://www.qwant.com/?q={searchTerms}",
"IconURL": "https://www.qwant.com/favicon-196.png",
"Method": "GET"
},
{
"Name": "MetaGer",
"Alias": "",
"Description": "MetaGer: Privacy Protected Search & Find",
"URLTemplate": "https://metager.org/meta/meta.ger3?eingabe={searchTerms}",
"SuggestURLTemplate": "https://metager.org/meta/meta.ger3?eingabe={searchTerms}",
"IconURL": "https://metager.org/favicon.ico",
"Method": "GET"
},
{
"Name": "Invidious",
"Alias": "",
"Description": "Invidious is an alternative front-end to YouTube",
"URLTemplate": "https://invidio.us/search?q={searchTerms}",
"SuggestURLTemplate": "https://invidio.us/search?q={searchTerms}",
"IconURL": "https://invidio.us/favicon-32x32.png",
"Method": "GET"
}
]
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,21 +0,0 @@
#!/usr/bin/env bash
# Exit script with a non-zero exit code if:
# - any command fails (-e | --errexit)
# - any variable is unset (-u | --nounset)
# - a part of a piped sequence fails (-o pipefail)
set -euo pipefail
SCRIPT_FOLDER=$(realpath $(dirname $0));
# Enable settings ------------------------------------------------------------------------------------------
if [[ "${1}" = "--enable" ]]; then
mv "${SCRIPT_FOLDER}/[DISABLED] local-settings.js" "${SCRIPT_FOLDER}/local-settings.js";
mv "${SCRIPT_FOLDER}/[DISABLED] policies.json" "${SCRIPT_FOLDER}/policies.json";
mv "${SCRIPT_FOLDER}/[DISABLED] librewolf.cfg" "${SCRIPT_FOLDER}/librewolf.cfg";
# Disable settings ------------------------------------------------------------------------------------------
elif [[ "${1}" = "--disable" ]]; then
mv "${SCRIPT_FOLDER}/local-settings.js" "${SCRIPT_FOLDER}/[DISABLED] local-settings.js";
mv "${SCRIPT_FOLDER}/policies.json" "${SCRIPT_FOLDER}/[DISABLED] policies.json";
mv "${SCRIPT_FOLDER}/librewolf.cfg" "${SCRIPT_FOLDER}/[DISABLED] librewolf.cfg";
fi