From 5ef2aed3f3961b72699d9881ed09560f4d01371a Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 18 Oct 2024 16:44:57 -0400 Subject: Tons of desktop fixes --- .../chromium/policies/managed/policies.json.common | 96 --------------------- .../policies/managed/policies.json.desktop | 99 ++++++++++++++++++++++ .../chromium/policies/managed/policies.json.laptop | 1 + .../managed/policies.json.roadwarrior_laptop | 1 + 4 files changed, 101 insertions(+), 96 deletions(-) delete mode 100644 files/usr/local/etc/chromium/policies/managed/policies.json.common create mode 100644 files/usr/local/etc/chromium/policies/managed/policies.json.desktop create mode 120000 files/usr/local/etc/chromium/policies/managed/policies.json.laptop create mode 120000 files/usr/local/etc/chromium/policies/managed/policies.json.roadwarrior_laptop (limited to 'files/usr/local/etc/chromium') diff --git a/files/usr/local/etc/chromium/policies/managed/policies.json.common b/files/usr/local/etc/chromium/policies/managed/policies.json.common deleted file mode 100644 index 0e57885..0000000 --- a/files/usr/local/etc/chromium/policies/managed/policies.json.common +++ /dev/null @@ -1,96 +0,0 @@ -{ - "AdvancedProtectionAllowed": false, - "AlternateErrorPagesEnabled": false, - "AutofillCreditCardEnabled": false, - "AuthNegotiateDelegateAllowlist": "*.${domain}", - "AuthServerAllowlist": "*.${domain}", - "BackgroundModeEnabled": false, - "BlockThirdPartyCookies": true, - "BrowserGuestModeEnabled": false, - "BrowserLabsEnabled": false, - "BrowserNetworkTimeQueriesEnabled": false, - "BrowserSignin": 0, - "CloudPrintProxyEnabled": false, - "CloudReportingEnabled": false, - "DefaultBrowserSettingEnabled": false, - "DefaultCookiesSetting": 1, - "DefaultSearchProviderEnabled": true, - "DefaultSearchProviderName": "DuckDuckGo", - "DefaultSearchProviderIconURL": "https://duckduckgo.com/favicon.ico", - "DefaultSearchProviderEncodings": [ - "UTF-8" - ], - "DefaultSearchProviderSearchURL": "https://duckduckgo.com/?q={searchTerms}", - "DefaultSearchProviderSuggestURL":"https://duckduckgo.com/ac/?q={searchTerms}&type=list", - "DefaultSearchProviderNewTabURL":"https://duckduckgo.com/chrome_newtab", - "DnsOverHttpsMode": "off", - "EnableAuthNegotiatePort": true, - "EnableMediaRouter": false, - "MetricsReportingEnabled": false, - "NetworkPredictionOptions": 2, - "PasswordManagerEnabled": false, - "PaymentMethodQueryEnabled": false, - "PrivacySandboxAdMeasurementEnabled": false, - "PrivacySandboxAdTopicsEnabled": false, - "PrivacySandboxPromptEnabled": false, - "PrivacySandboxSiteEnabledAdsEnabled": false, - "PromotionalTabsEnabled": false, - "SafeBrowsingProtectionLevel": 0, - "SearchSuggestEnabled": false, - "SyncDisabled": true, - "TranslateEnabled": false, - "UrlKeyedAnonymizedDataCollectionEnabled": false, - "ManagedBookmarks": [ - { - "toplevel_name": "Internal" - }, - { - "name": "Poudriere", - "url": "http://pkg.${domain}/poudriere" - } - ], - "ExtensionSettings": { - "cjpalhdlnbpafiamejdnhcphjbkeiagm": { - "installation_mode": "force_installed", - "update_url": "https://clients2.google.com/service/update2/crx" - }, - "nngceckbapebfimnlniiiahkandclblb": { - "installation_mode": "normal_installed", - "update_url": "https://clients2.google.com/service/update2/crx" - }, - "cimiefiiaegbelhefglklhhakcgmhkai": { - "installation_mode": "$(if [ "${desktop_type:-}" = kde ]; then echo normal_installed; else echo allowed; fi)", - "update_url": "https://clients2.google.com/service/update2/crx" - } - }, - "3rdparty": { - "extensions": { - "cjpalhdlnbpafiamejdnhcphjbkeiagm": { - "toOverwrite": { - "filterLists": [ - "user-filters", - "ublock-filters", - "ublock-badware", - "ublock-privacy", - "ublock-abuse", - "ublock-unbreak", - "ublock-annoyances", - "easylist", - "easyprivacy", - "urlhaus-1", - "plowe-0", - "fanboy-annoyance", - "fanboy-thirdparty_social", - "adguard-spyware-url", - "ublock-quick-fixes" - ] - }, - "toAdd": { - "trustedSiteDirectives": [ - "${domain}" - ] - } - } - } - } -} diff --git a/files/usr/local/etc/chromium/policies/managed/policies.json.desktop b/files/usr/local/etc/chromium/policies/managed/policies.json.desktop new file mode 100644 index 0000000..93544cf --- /dev/null +++ b/files/usr/local/etc/chromium/policies/managed/policies.json.desktop @@ -0,0 +1,99 @@ +{ + "AdvancedProtectionAllowed": false, + "AlternateErrorPagesEnabled": false, + "AutofillCreditCardEnabled": false, + "AuthNegotiateDelegateAllowlist": "*.${domain}", + "AuthServerAllowlist": "*.${domain}", + "BackgroundModeEnabled": false, + "BlockThirdPartyCookies": true, + "BrowserGuestModeEnabled": false, + "BrowserLabsEnabled": false, + "BrowserNetworkTimeQueriesEnabled": false, + "BrowserSignin": 0, + "CloudPrintProxyEnabled": false, + "CloudReportingEnabled": false, + "DefaultBrowserSettingEnabled": false, + "DefaultCookiesSetting": 1, + "DefaultSearchProviderEnabled": true, + "DefaultSearchProviderName": "DuckDuckGo", + "DefaultSearchProviderIconURL": "https://duckduckgo.com/favicon.ico", + "DefaultSearchProviderEncodings": [ + "UTF-8" + ], + "DefaultSearchProviderSearchURL": "https://duckduckgo.com/?q={searchTerms}", + "DefaultSearchProviderSuggestURL":"https://duckduckgo.com/ac/?q={searchTerms}&type=list", + "DefaultSearchProviderNewTabURL":"https://duckduckgo.com/chrome_newtab", + "DnsOverHttpsMode": "off", + "EnableAuthNegotiatePort": true, + "EnableMediaRouter": false, + "MetricsReportingEnabled": false, + "NetworkPredictionOptions": 2, + "PasswordManagerEnabled": false, + "PaymentMethodQueryEnabled": false, + "PrivacySandboxAdMeasurementEnabled": false, + "PrivacySandboxAdTopicsEnabled": false, + "PrivacySandboxPromptEnabled": false, + "PrivacySandboxSiteEnabledAdsEnabled": false, + "PromotionalTabsEnabled": false, + "SafeBrowsingProtectionLevel": 0, + "SearchSuggestEnabled": false, + "SyncDisabled": true, + "TranslateEnabled": false, + "UrlKeyedAnonymizedDataCollectionEnabled": false, + "ManagedBookmarks": [ + { + "toplevel_name": "Internal" + }, + { + "name": "Poudriere", + "url": "http://pkg.${domain}/poudriere" + } + ], + "ExtensionSettings": { + "cjpalhdlnbpafiamejdnhcphjbkeiagm": { + "installation_mode": "force_installed", + "update_url": "https://clients2.google.com/service/update2/crx" + }, + "nngceckbapebfimnlniiiahkandclblb": { + "installation_mode": "normal_installed", + "update_url": "https://clients2.google.com/service/update2/crx" + }, + "cimiefiiaegbelhefglklhhakcgmhkai": { + "installation_mode": "$(if [ "${desktop_type:-}" = kde ]; then echo normal_installed; else echo allowed; fi)", + "update_url": "https://clients2.google.com/service/update2/crx" + } + }, + "3rdparty": { + "extensions": { + "cjpalhdlnbpafiamejdnhcphjbkeiagm": { + "toOverwrite": { + "selectedFilterLists": [ + "user-filters", + "ublock-filters", + "ublock-badware", + "ublock-privacy", + "ublock-abuse", + "ublock-unbreak", + "ublock-annoyances", + "ublock-cookies-easylist", + "fanboy-cookiemonster", + "easylist", + "easyprivacy", + "urlhaus-1", + "plowe-0", + "fanboy-annoyance", + "fanboy-social", + "fanboy-thirdparty_social", + "adguard-spyware-url", + "ublock-quick-fixes" + ] + }, + "toAdd": { + "trustedSiteDirectives": [ + "$(join '","' "$domain" $ublock_whitelist)" + ] + } + } + } + } +} diff --git a/files/usr/local/etc/chromium/policies/managed/policies.json.laptop b/files/usr/local/etc/chromium/policies/managed/policies.json.laptop new file mode 120000 index 0000000..93bcb92 --- /dev/null +++ b/files/usr/local/etc/chromium/policies/managed/policies.json.laptop @@ -0,0 +1 @@ +policies.json.desktop \ No newline at end of file diff --git a/files/usr/local/etc/chromium/policies/managed/policies.json.roadwarrior_laptop b/files/usr/local/etc/chromium/policies/managed/policies.json.roadwarrior_laptop new file mode 120000 index 0000000..93bcb92 --- /dev/null +++ b/files/usr/local/etc/chromium/policies/managed/policies.json.roadwarrior_laptop @@ -0,0 +1 @@ +policies.json.desktop \ No newline at end of file -- cgit v1.2.3