diff --git a/apps/entry/document_start.ts b/apps/entry/document_start.ts index 6aa7a402..652446e0 100644 --- a/apps/entry/document_start.ts +++ b/apps/entry/document_start.ts @@ -139,9 +139,11 @@ const observer = new MutationObserver((mutations) => { } } else if (GoogleNewsCard.isCandidate(node, documentURL)) { if (gsbOptions !== null) { - const g = new GoogleNewsCard(node); - if (!blockElement(g, gsbOptions)) { - pendingGoogleNewsCardList.push(node); + if (GoogleNewsCard.isOptionallyEnabled(gsbOptions)) { + const g = new GoogleNewsCard(node); + if (!blockElement(g, gsbOptions)) { + pendingGoogleNewsCardList.push(node); + } } } else { pendingGoogleNewsCardList.push(node);