From 8384650cf92705d570ee13fa4ed4423d1b26b328 Mon Sep 17 00:00:00 2001 From: DareFox <47672780+DareFox@users.noreply.github.com> Date: Thu, 9 May 2024 18:17:28 +0300 Subject: [PATCH] fix: not matching google image search page --- src/websites/google.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/websites/google.ts b/src/websites/google.ts index ff8f135..d5141e7 100644 --- a/src/websites/google.ts +++ b/src/websites/google.ts @@ -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.")