From cb0172fe155860b2174b4eabb8c1863cd3ba5927 Mon Sep 17 00:00:00 2001 From: charmedsquints <144560989+charmedsquints@users.noreply.github.com> Date: Tue, 20 Aug 2024 00:13:24 +0000 Subject: [PATCH 1/2] Fix class name for results containing site links --- src/scripts/search-engines/google-mobile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/search-engines/google-mobile.ts b/src/scripts/search-engines/google-mobile.ts index 3081e6e2b..0c376aa04 100644 --- a/src/scripts/search-engines/google-mobile.ts +++ b/src/scripts/search-engines/google-mobile.ts @@ -145,7 +145,7 @@ const mobileSerpHandlers: Record = { return null; } const webResultWithSiteLinks = - target.parentElement?.closest(".Ww4FFb.g, .mnr-c.g"); + target.parentElement?.closest(".Ww4FFbs.vt6azsd"); if (webResultWithSiteLinks) { return webResultWithSiteLinks; } From 871daa72939a287164d8376671197040a60c1b22 Mon Sep 17 00:00:00 2001 From: charmedsquints <144560989+charmedsquints@users.noreply.github.com> Date: Tue, 20 Aug 2024 00:16:22 +0000 Subject: [PATCH 2/2] fix --- src/scripts/search-engines/google-mobile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/search-engines/google-mobile.ts b/src/scripts/search-engines/google-mobile.ts index 0c376aa04..0d9eb46a9 100644 --- a/src/scripts/search-engines/google-mobile.ts +++ b/src/scripts/search-engines/google-mobile.ts @@ -145,7 +145,7 @@ const mobileSerpHandlers: Record = { return null; } const webResultWithSiteLinks = - target.parentElement?.closest(".Ww4FFbs.vt6azsd"); + target.parentElement?.closest(".Ww4FFb.vt6azd"); if (webResultWithSiteLinks) { return webResultWithSiteLinks; }