Skip to content

Commit

Permalink
fix: not matching google image search page
Browse files Browse the repository at this point in the history
  • Loading branch information
DareFox committed May 9, 2024
1 parent d5bd51d commit 8384650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/websites/google.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { changeParams, combineParamsAndUrl, isDomain, isUserSearchingTransparent
export class GoogleUrlConverter extends WebsiteUrlConverter {
name: string = "Google"
protected isImageSearch(url: URL): boolean {
return url.searchParams.get("tbm") == "isch"
return url.searchParams.get("udm") == "2"
}
protected isDomainMatch(url: URL): boolean {
return isDomain(url, "google.")
Expand Down

0 comments on commit 8384650

Please sign in to comment.