Skip to content

Commit

Permalink
Set default WebRTC policy, add default settings documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahrotahn committed May 23, 2023
1 parent b403834 commit 425d435
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/default_settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Default Settings

Vanilla Chromium settings are not often changed by ungoogled-chromium, however there are some exceptions.
Below is a list of the documented changes to the default Chromium settings.

Setting | New State | Location
-- | -- | --
Allow sites to check if you have payment methods saved | Disabled | chrome://settings/payments
Ask where to save each file before downloading | Enabled | chrome://settings/downloads
Auto sign-in | Disabled | chrome://settings/passwords
Block third-party cookies | Enabled | chrome://settings/cookies
Clear cookies and site data when you close all windows | Enabled | chrome://settings/cookies
Continue running background apps when Chromium is closed | Disabled | chrome://settings/system
Hyperlink auditing (\<a ping>) | Disabled | NA
Link Doctor | Disabled | NA
Offer to save passwords | Disabled | chrome://settings/passwords
Payment autofill | Disabled | chrome://settings/payments
Preload pages | Disabled | chrome://settings/cookies
Search suggestions | Disabled | chrome://settings/syncSetup
Show bookmark bar | Enabled | chrome://settings/appearance
WebRTC IP handling policy | Disable Non-Proxied UDP | `--webrtc-ip-handling-policy`
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -91,7 +91,7 @@ void RegisterBrowserUserPrefs(user_prefs
false);
#endif
registry->RegisterStringPref(prefs::kWebRTCIPHandlingPolicy,
- blink::kWebRTCIPHandlingDefault);
+ blink::kWebRTCIPHandlingDisableNonProxiedUdp);
registry->RegisterStringPref(prefs::kWebRTCUDPPortRange, std::string());
registry->RegisterBooleanPref(prefs::kWebRtcEventLogCollectionAllowed, false);
registry->RegisterListPref(prefs::kWebRtcLocalIpsAllowedUrls);
1 change: 1 addition & 0 deletions patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,4 @@ extra/ungoogled-chromium/add-flag-to-hide-extensions-menu.patch
extra/ungoogled-chromium/add-flag-to-hide-fullscreen-exit-ui.patch
extra/ungoogled-chromium/add-flag-for-incognito-themes.patch
extra/ungoogled-chromium/add-flags-for-referrer-customization.patch
extra/ungoogled-chromium/default-webrtc-ip-handling-policy.patch

0 comments on commit 425d435

Please sign in to comment.