Skip to content

Commit

Permalink
Update showImages.js to fix google reverse image search URL (#5475)
Browse files Browse the repository at this point in the history
Google added an additional `sbisrc` parameter to continue to access the non-Lens type of reverse image search
  • Loading branch information
tompreuss authored Nov 26, 2024
1 parent ee09506 commit 6914d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/showImages.js
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ export class Media {
lookupUrl = new URL(downcast(lookupUrl, 'string'), location.href).href;
// Escape query string parameters
openNewTab(string.encode`https://images.google.com/searchbyimage?client=app&image_url=${lookupUrl}`);
openNewTab(string.encode`https://images.google.com/searchbyimage?client=app&sbisrc=cr_1_5_2&image_url=${lookupUrl}`);
break;
case 'showImageSettings':
SettingsNavigation.open(module.moduleID, 'mediaControls');
Expand Down

0 comments on commit 6914d97

Please sign in to comment.