From 2e9a39844dc28d1261ad5b5af7fc002c3b3a9a2b Mon Sep 17 00:00:00 2001 From: Hideki Ikemoto Date: Sat, 22 May 2021 07:54:04 +0900 Subject: [PATCH] fix: 'News' tab does not work. --- apps/block/google_news_tab_top.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block/google_news_tab_top.ts b/apps/block/google_news_tab_top.ts index 9bf8cd60..37c6b297 100644 --- a/apps/block/google_news_tab_top.ts +++ b/apps/block/google_news_tab_top.ts @@ -22,7 +22,7 @@ class GoogleNewsTabTop extends SearchResultToBlock { } static isCandidate(element: Element, documentURL: DocumentURL): boolean { - return element.matches('div.gG0TJc') && documentURL.isGoogleSearchNewsTab(); + return element.matches('div.nChh6e') && documentURL.isGoogleSearchNewsTab(); } // noinspection DuplicatedCode