Skip to content

Commit d90abd4

Browse files
fix: Augment fix to prevent stray OGS frames in NTP from causing hangs. (#521)
The URL used before was a little too-specific, so it didn't catch frames that include `u/0/` in the URL (potentially to support multi users?). (original fix: #504)
1 parent 36504d2 commit d90abd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function makeTargetFilter() {
3030
if (target.url() === 'chrome://newtab/') {
3131
return true;
3232
}
33-
if (target.url().startsWith('https://ogs.google.com/widget/app/so')) {
33+
if (target.url().startsWith('https://ogs.google.com/')) {
3434
// Some special frame on the NTP that is not picked up by CDP-auto-attach.
3535
return false;
3636
}

0 commit comments

Comments
 (0)