qsniyg / maxurl

Finds larger/original versions of images and videos
https://qsniyg.github.io/maxurl/
Apache License 2.0
1.05k stars 65 forks source link

Yandex, image in background pops up #1333

Open CupaButton opened 2 weeks ago

CupaButton commented 2 weeks ago

A few days ago I noticed a problem on yandex.com. Maxurl pops up one of the images in the background instead of the big image in the foreground.

Replicate: Just click on any image, wait for it to load. I mouseover to popup, but an unseen image in the back pops up instead. Seems to happen in Opera (sideloader) as well as in Vivalid with the regular extention.

The link below can be used to replicate the problem. The link is SFW.

https://yandex.com/images/search?img_url=https%3A%2F%2Fyobte.ru%2Fuploads%2Fposts%2F2023-05%2Fgorno-altajsk-dostoprimechatelnosti-prirody-49-foto-29.webp&lr=10467&nl=1&pos=2&rpt=simage&source=morda&text=Altai&utm_campaign=morda&utm_medium=com&utm_source=yandex

qsniyg commented 2 weeks ago

Thanks for reporting, seems to be related to .MMImage-Preview having a pointer-events: none property. I'll write a custom rule for this, but in the meantime, setting Element finding mode to Full is a possible workaround.

CupaButton commented 2 weeks ago

Workaround works like a charm. Thanks.