From 5cfecebc123c76e560497bf64ac1fad09c140193 Mon Sep 17 00:00:00 2001 From: iorate <682043+iorate@users.noreply.github.com> Date: Sun, 26 Nov 2023 22:29:16 +0900 Subject: [PATCH] fix(google): filter "Discussions and forums" fix #376 --- src/scripts/search-engines/google-desktop.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/scripts/search-engines/google-desktop.ts b/src/scripts/search-engines/google-desktop.ts index b52064a38..73f9a55d7 100644 --- a/src/scripts/search-engines/google-desktop.ts +++ b/src/scripts/search-engines/google-desktop.ts @@ -185,6 +185,14 @@ const desktopSerpHandlers: Record = { title: 'h3', ...regularEntryHandler, }, + // Discussions and forums + { + target: '.LJ7wUe', + url: 'a', + title: '[role="heading"][aria-level="3"]', + actionTarget: '[aria-label][role="link"]', + actionStyle: desktopActionStyle, + }, // Featured Snippet { target: '.g .xpdopen .ifM9O .g',