Skip to content

Commit

Permalink
fix(google): adapt to the new DOM structure
Browse files Browse the repository at this point in the history
  • Loading branch information
iorate committed Nov 26, 2022
1 parent 2486ba4 commit 446d292
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/scripts/search-engines/google-desktop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ const desktopSerpHandlers: Record<string, SerpHandler> = {
],
entryHandlers: [
// Regular, Web Result
{
target: '[data-content-feature="1"], [data-header-feature="0"] + .Z26q7c',
level: 2,
url: 'a',
title: 'h3',
actionTarget: '.m7Ijp',
actionPosition: 'beforebegin',
actionStyle: desktopRegularActionStyle,
},
{
target: '[data-content-feature="1"], [data-header-feature="0"] + .Z26q7c',
level: 2,
Expand Down

0 comments on commit 446d292

Please sign in to comment.