Skip to content

Commit

Permalink
fix(google): filter "Discussions and forums"
Browse files Browse the repository at this point in the history
fix #376
  • Loading branch information
iorate committed Nov 26, 2023
1 parent 8a85a21 commit 5cfeceb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/scripts/search-engines/google-desktop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ const desktopSerpHandlers: Record<string, SerpHandler> = {
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',
Expand Down

0 comments on commit 5cfeceb

Please sign in to comment.