From b8e3cd6eb98fc633fed9bd5ae57e242bbcf67d6f Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Wed, 15 Nov 2023 14:49:01 +0100 Subject: [PATCH] Always allow inspect fallback --- build/bromite_patches_list.txt | 1 + .../00Always-allow-inspect-fallback.patch | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 build/patches/00Always-allow-inspect-fallback.patch diff --git a/build/bromite_patches_list.txt b/build/bromite_patches_list.txt index 7e06f097..82131324 100644 --- a/build/bromite_patches_list.txt +++ b/build/bromite_patches_list.txt @@ -281,6 +281,7 @@ Timezone-customization.patch 00Keep-Manta-Service-Disabled.patch 00Disable-Service-and-Shared-workers-on-3P-iframe.patch 00Disable-Real-Box.patch +00Always-allow-inspect-fallback.patch 00Temp-PerformanceNavigationTiming-privacy-fix.patch diff --git a/build/patches/00Always-allow-inspect-fallback.patch b/build/patches/00Always-allow-inspect-fallback.patch new file mode 100644 index 00000000..dc3faa20 --- /dev/null +++ b/build/patches/00Always-allow-inspect-fallback.patch @@ -0,0 +1,22 @@ +From: uazo +Date: Mon, 13 Nov 2023 14:26:00 +0000 +Subject: Always allow inspect fallback + +Always enable 'inspect fallback' in 'chrome://inspect/#devices' +--- + chrome/browser/resources/inspect/inspect.js | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/chrome/browser/resources/inspect/inspect.js b/chrome/browser/resources/inspect/inspect.js +--- a/chrome/browser/resources/inspect/inspect.js ++++ b/chrome/browser/resources/inspect/inspect.js +@@ -50,6 +50,7 @@ if ('browser-inspector' in queryParamsObject) { + })(); + + function isVersionNewerThanHost(version) { ++ if ((true)) return true; + if (!HOST_CHROME_VERSION) { + return false; + } +-- +2.25.1