diff options
-rw-r--r-- | aux-files/librewolf/policies.json | 93 | ||||
-rw-r--r-- | librewolf.scm | 2 |
2 files changed, 94 insertions, 1 deletions
diff --git a/aux-files/librewolf/policies.json b/aux-files/librewolf/policies.json new file mode 100644 index 0000000..11d270a --- /dev/null +++ b/aux-files/librewolf/policies.json @@ -0,0 +1,93 @@ +{ + "__COMMENT__ More Information": "https://github.com/mozilla/policy-templates/blob/master/README.md", + "policies": { + "AppUpdateURL": "https://localhost", + "DisableAppUpdate": true, + "OverrideFirstRunPage": "", + "OverridePostUpdatePage": "", + "DisableSystemAddonUpdate": true, + "DisableProfileImport": false, + "DisableFirefoxStudies": true, + "DisableTelemetry": true, + "DisableFeedbackCommands": true, + "DisablePocket": true, + "DisableSetDesktopBackground": false, + "DisableDeveloperTools": false, + "Homepage": { + "StartPage": "none" + }, + "DNSOverHTTPS": { + "Enabled": false, + "ProviderURL": "", + "Locked": false + }, + "Preferences": { + "toolkit.legacyUserProfileCustomizations.stylesheets": { + "Value": true, + "Status": "user" + }, + "browser.toolbars.bookmarks.visibility": { + "Value": "never", + "Status": "user" + }, + "browser.startup.page": { + "Value": 3, + "Status": "user" + }, + "privacy.clearOnShutdown.history": { + "Value": false, + "Status": "user" + } + }, + "NoDefaultBookmarks": true, + "WebsiteFilter": { + "Block": [ + "https://localhost/*" + ], + "Exceptions": [ + "https://localhost/*" + ] + }, + "Extensions": { + "Install": [ + "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi", + "https://addons.mozilla.org/firefox/downloads/latest/libredirect/latest.xpi", + "https://addons.mozilla.org/firefox/downloads/latest/noscript/latest.xpi", + "https://addons.mozilla.org/firefox/downloads/latest/tree-style-tab/latest.xpi" + ], + "Uninstall": [ + "google@search.mozilla.org", + "bing@search.mozilla.org", + "amazondotcom@search.mozilla.org", + "ebay@search.mozilla.org", + "twitter@search.mozilla.org" + ] + }, + "SearchEngines": { + "PreventInstalls": false, + "Remove": [ + "Google", + "Bing", + "Amazon.com", + "eBay", + "Twitter" + ], + "Default": "SearXNG", + "Add": [ + { + "Name": "SearXNG", + "Description": "A privacy-respecting, hackable metasearch engine", + "Alias": "", + "Method": "POST", + "URLTemplate": "https://searx.techchud.xyz/?q={searchTerms}", + "PostData": "q={searchTerms}&category_general=on", + "IconURL": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaWQ9InN2ZzgiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDkyIDkyIiBoZWlnaHQ9IjkybW0iIHdpZHRoPSI5Mm1tIj4KICA8ZGVmcyBpZD0iZGVmczIiLz4KICA8bWV0YWRhdGEgaWQ9Im1ldGFkYXRhNSI+CiAgICA8cmRmOlJERj4KICAgICAgPGNjOldvcmsgcmRmOmFib3V0PSIiPgogICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2Uvc3ZnK3htbDwvZGM6Zm9ybWF0PgogICAgICAgIDxkYzp0eXBlIHJkZjpyZXNvdXJjZT0iaHR0cDovL3B1cmwub3JnL2RjL2RjbWl0eXBlL1N0aWxsSW1hZ2UiLz4KICAgICAgICA8ZGM6dGl0bGUvPgogICAgICA8L2NjOldvcms+CiAgICA8L3JkZjpSREY+CiAgPC9tZXRhZGF0YT4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDAuOTIxMzAzLC0xNy40MTY1MjY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9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6ODtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIi8+CiAgPC9nPgo8L3N2Zz4=" + } + ] + }, + "SupportMenu": { + "Title": "LibreWolf Issue Tracker", + "URL": "https://codeberg.org/librewolf/issues" + } + } +} diff --git a/librewolf.scm b/librewolf.scm index 45c6224..9a2cf6c 100644 --- a/librewolf.scm +++ b/librewolf.scm @@ -74,7 +74,7 @@ ;(add-before 'build 'replace-policies (add-before 'patch-cargo-checksums 'replace-policies (lambda _ - (copy-file #$(local-file "policies.json") "lw/policies.json")) + (copy-file #$(local-file "aux-files/librewolf/policies.json") "lw/policies.json")) ) (replace 'set-build-id |