dessant / search-by-image

Browser extension for reverse image search, available for Chrome, Edge and Safari
https://apps.apple.com/us/app/search-by-image-for-safari/id1544552106
GNU General Public License v3.0
2.17k stars 192 forks source link

Searching via Google on iOS doesn't work #320

Open Wulgaren opened 3 weeks ago

Wulgaren commented 3 weeks ago

System

Bug description If I try to find an object using Google Lens from the image share sheet on iOS, it just loads the Google Images page and doesn't do anything.

dessant commented 3 weeks ago

Hi, is the extension allowed to access all websites? It can be configured by going to Settings > Safari > Extensions. Are you getting any notifications from the extension when you try to search, and is the loaded Google Images page the mobile version, or the desktop version with very small UI elements?

Wulgaren commented 3 weeks ago

hi! yes, allowed for all websites. mobile version of the site. no notifications. IMG_0011

dessant commented 3 weeks ago

Please test if the extension behaves the same way if you search with the Wikipedia logo on this page: https://www.wikipedia.org

Start a search with the "Select image" search mode, then switch to "Select URL" and repeat the search.

Does searching on Shutterstock work on your end?

Wulgaren commented 3 weeks ago

none of those methods work for google, shutterstock and tineye work fine though

Wulgaren commented 3 weeks ago

this is the url of the google page upon trying to search "https://www.google.com/imghp". should it include some query or is it through POST request?

dessant commented 3 weeks ago

That's the correct URL, but it should load the desktop version of the page, which in turn gives us access to Google Lens. The extension changes the user agent for the request to load the desktop version of the site, but for some reason it has no effect on your end. But even then, the extension should show an error notification if it does not find the expected UI elements on the page.

Are you using any kind of app or extension that modifies the user agent in Safari?

Wulgaren commented 3 weeks ago

i tried disabling all the extensions and same thing. very weird

dessant commented 3 weeks ago

It could still be a permission issue when accessing Google, that would explain why the new user agent is not applied. Did Google Lens ever work for you, or have you only started using the extension recently? I'd try uninstalling and reinstalling the Search by Image app, then going to Settings again and making sure that the extension is allowed to access all websites, maybe that will solve the issue.

Wulgaren commented 3 weeks ago

no, just bought it few days ago. i'll try to do that.

Wulgaren commented 3 weeks ago

unfortunately still same issue persists