Skip to content

Commit

Permalink
Merge branch 'master' into google-question-answers
Browse files Browse the repository at this point in the history
  • Loading branch information
aug-dev authored May 25, 2024
2 parents 4014812 + 8f1b01d commit 89cc006
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/scripts/search-engines/google-desktop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,18 @@ const desktopSerpHandlers: Record<string, SerpHandler> = {
actionTarget: ".ZE0LJd, .S1FAPd",
actionStyle: desktopActionStyle,
},
// Images (on the "All" page)
{
target: ".eA0Zlc.mkpRId.RLdvSe",
url: "a",
title: ".toI8Rb",
actionTarget: ".guK3rf",
actionStyle: {
...desktopActionStyle,
position: "relative",
zIndex: "1",
},
},
],
pagerHandlers: [
// People Also Ask
Expand All @@ -505,7 +517,7 @@ const desktopSerpHandlers: Record<string, SerpHandler> = {
target: '.autopagerize_page_info ~ div, [id^="arc-srp"] > div',
// Regular, Video, and YouTube and TikTok channel
innerTargets:
"[data-snf], [data-sokoban-feature], [data-content-feature], .IsZvec, .g, .iHxmLe, .d3zsgb, .rULfzc, .BmkBMc",
"[data-snf], [data-sokoban-feature], [data-content-feature], .IsZvec, .g, .iHxmLe, .d3zsgb, .rULfzc, .eA0Zlc.mkpRId.RLdvSe",
},
],
}),
Expand Down

0 comments on commit 89cc006

Please sign in to comment.