From 21cadd797b2ebb9e009c3fa8db0b27e179a91d0d Mon Sep 17 00:00:00 2001 From: Finnur Thorarinsson Date: Tue, 4 Nov 2025 14:08:05 +0000 Subject: [PATCH] fix: Augment fix to prevent stray OGS frames in NTP from causing hangs. (original fix: https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/504) --- src/browser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser.ts b/src/browser.ts index f3f3d9e11..ec6c00c7c 100644 --- a/src/browser.ts +++ b/src/browser.ts @@ -30,7 +30,7 @@ function makeTargetFilter() { if (target.url() === 'chrome://newtab/') { return true; } - if (target.url().startsWith('https://ogs.google.com/widget/app/so')) { + if (target.url().startsWith('https://ogs.google.com/')) { // Some special frame on the NTP that is not picked up by CDP-auto-attach. return false; }