From f6e8b8950fd7835be3b1dc8896e6fc0c638d3074 Mon Sep 17 00:00:00 2001 From: Rootkit404 <175176948+RKNF404@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:16:46 -0400 Subject: [PATCH 1/5] Remove references to unused prefs --- patches/remove-unused-preferences.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/patches/remove-unused-preferences.patch b/patches/remove-unused-preferences.patch index 12e6cf49..db56e000 100644 --- a/patches/remove-unused-preferences.patch +++ b/patches/remove-unused-preferences.patch @@ -1,3 +1,25 @@ +diff --git a/chrome/app/settings_strings.grdp b/chrome/app/settings_strings.grdp +index f318a33f56053..b5cca497db8b7 100644 +--- a/chrome/app/settings_strings.grdp ++++ b/chrome/app/settings_strings.grdp +@@ -2307,7 +2307,7 @@ + Security + + +- Safe Browsing (protection from dangerous sites) and other security settings ++ DNS, certificate management, and other security settings + + +@@ -3902,7 +3902,7 @@ + + + +- You and Google ++ Your Profile + + + Google Profile photo diff --git a/chrome/browser/resources/settings/basic_page/basic_page.ts b/chrome/browser/resources/settings/basic_page/basic_page.ts index 1024f4f8206f6..a3f1a384030c2 100644 --- a/chrome/browser/resources/settings/basic_page/basic_page.ts From 658c8c77a4c2779509d38d58ca4b8bf688b63cc0 Mon Sep 17 00:00:00 2001 From: Rootkit404 <175176948+RKNF404@users.noreply.github.com> Date: Tue, 3 Sep 2024 21:43:11 -0400 Subject: [PATCH 2/5] Change method of modifying HTML text --- patches/remove-unused-preferences.patch | 48 +++++++++++++------------ 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/patches/remove-unused-preferences.patch b/patches/remove-unused-preferences.patch index db56e000..e4cba82f 100644 --- a/patches/remove-unused-preferences.patch +++ b/patches/remove-unused-preferences.patch @@ -1,25 +1,16 @@ -diff --git a/chrome/app/settings_strings.grdp b/chrome/app/settings_strings.grdp -index f318a33f56053..b5cca497db8b7 100644 ---- a/chrome/app/settings_strings.grdp -+++ b/chrome/app/settings_strings.grdp -@@ -2307,7 +2307,7 @@ - Security - - -- Safe Browsing (protection from dangerous sites) and other security settings -+ DNS, certificate management, and other security settings - - -@@ -3902,7 +3902,7 @@ - - - -- You and Google -+ Your Profile - - - Google Profile photo +diff --git a/chrome/browser/resources/settings/basic_page/basic_page.html b/chrome/browser/resources/settings/basic_page/basic_page.html +index f44cde44ed34f..fd29b80af8ba4 100644 +--- a/chrome/browser/resources/settings/basic_page/basic_page.html ++++ b/chrome/browser/resources/settings/basic_page/basic_page.html +@@ -17,7 +17,7 @@ + + +