From 44c6624c18bc46015e6e1759888209f4df9506e0 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Sun, 5 Jun 2022 16:56:51 +0300 Subject: [PATCH] Hide not working "Turn on sync" buttons --- 0004-Hide-sync-with-Google.patch | 105 +++++++++++++++++++++++++++++++ chromium-browser-stable.spec | 3 +- 2 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 0004-Hide-sync-with-Google.patch diff --git a/0004-Hide-sync-with-Google.patch b/0004-Hide-sync-with-Google.patch new file mode 100644 index 0000000..6ce25d3 --- /dev/null +++ b/0004-Hide-sync-with-Google.patch @@ -0,0 +1,105 @@ +From 91050333ece16bfa526d6f44bf2324f71a794220 Mon Sep 17 00:00:00 2001 +From: Mikhail Novosyolov +Date: Sun, 5 Jun 2022 16:52:13 +0300 +Subject: [PATCH] Hide sync with Google + +Syncing with Google does not work noawadays because Google decided +to block it work other API keys than the ons used in Google Chrome. + +Click "Turn on sync" does not turn it on. + +Hiding: +* button in chrome://settings +* button when clicking on the user avatar on the right from the address bar +* button on the welcome page which is not shown by default in ROSA (?) + +As code is just being commented out in chrome://settings, advanced users +probably can uncomemnt it in developer tools without recompiling Chromium +if they want to use their own API keys. +--- + .../settings/people_page/sync_account_control.html | 2 ++ + chrome/browser/resources/welcome/signin_view.html | 2 ++ + chrome/browser/ui/views/profiles/profile_menu_view.cc | 9 ++++----- + 3 files changed, 8 insertions(+), 5 deletions(-) + +diff --git a/chrome/browser/resources/settings/people_page/sync_account_control.html b/chrome/browser/resources/settings/people_page/sync_account_control.html +index 70b3128642..b91ea8675a 100644 +--- a/chrome/browser/resources/settings/people_page/sync_account_control.html ++++ b/chrome/browser/resources/settings/people_page/sync_account_control.html +@@ -117,6 +117,7 @@ + + ++ +