Skip to content

Commit

Permalink
feat: disable protected content by default (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
RKNF404 authored Dec 12, 2024
1 parent ae403d9 commit 7d18f76
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/disable-protected-content.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/chrome/browser/ui/prefs/prefs_tab_helper.cc b/chrome/browser/ui/prefs/prefs_tab_helper.cc
index e06062eed220e..2a50bfc2b4260 100644
--- a/chrome/browser/ui/prefs/prefs_tab_helper.cc
+++ b/chrome/browser/ui/prefs/prefs_tab_helper.cc
@@ -375,7 +375,7 @@ void PrefsTabHelper::RegisterProfilePrefs(
registry->RegisterBooleanPref(
prefs::kEnableReferrers,
!base::FeatureList::IsEnabled(features::kNoReferrers));
- registry->RegisterBooleanPref(prefs::kEnableEncryptedMedia, true);
+ registry->RegisterBooleanPref(prefs::kEnableEncryptedMedia, false);
registry->RegisterStringPref(prefs::kPrefixedVideoFullscreenApiAvailability,
"runtime-enabled");
registry->RegisterBooleanPref(prefs::kScrollToTextFragmentEnabled, true);

0 comments on commit 7d18f76

Please sign in to comment.