extesy / hoverzoom

Google Chrome extension for zooming images on mouse hover
https://chrome.google.com/webstore/detail/hover-zoom%20/pccckmaobkjjboncdfnnofkonhgpceea
MIT License
1.12k stars 176 forks source link

Add support for hovering over https://www.reddit.com/gallery/ links #1175

Open dewijones92 opened 1 year ago

dewijones92 commented 1 year ago

First I need to say a massive THANK YOU to the @extesy

Describe the solution you'd like Add support for hovering over https://www.reddit.com/gallery/ links A large image should appear on hover

Additional context Current behaviour: image Hovering over the thumbnail pops us a small preview. The link I am hovering over is: https://www.reddit.com/gallery/14z03vj

TS6ix2GaH3q679h5 commented 1 year ago

I'm just another user but do you happen to use Brave Browser? Weirdly I was experiencing the same thing. I disabled Shields, reloaded the page, re-enabled Shields, and now gallery zooming works fine across the site. Weird. Maybe some cookie error?

TS6ix2GaH3q679h5 commented 1 year ago

Update: The behavior OP was describing came back. But a quick removal and reinstallation of the extension seems to have fixed the issue now. Maybe some fluke in the extension update from Chrome store.

Edit: Spoke too soon. I'm seeing the same behavior again. Can't understand why this comes and goes like this. I'm using Brave's built-in adblock plus AdGuard, but disabling both still does OP's issue where only the single thumbnail is zoomed. I'll keep playing around I guess. Maybe I'll find something.

TS6ix2GaH3q679h5 commented 1 year ago

More info:

It seems to be happening on old.reddit.com since meanwhile new Reddit seems unaffected.

Example:

old.reddit.com

https://old.reddit.com/search?q=animals+url%3Agallery&restrict_sr=&sort=relevance&t=all Expect: gallery view to open Reality: the thumbnail itself is zoomed instead

image

new.reddit.com

https://new.reddit.com/search?q=animals%20url%3Agallery&restrict_sr=&sort=relevance&t=all Expect: gallery view to open Reality: it does

image

Old Reddit galleries will spontaneously work but I can't find a single cause. Tried: Adblock disabling, cookies refresh, Reddit settings changes, extension re-install. Some things seem to work for a while but revert back. Odd.

TS6ix2GaH3q679h5 commented 1 year ago

Update:

Just guessing, but it seems like it might be some kind of cookie issue?

I realized that my previous post is not 100% accurate. The behavior is only currently happening for me on www.reddit.com, NOT on old.reddit.com or new.reddit.com and again, it only happens sometimes. Currently I'd say about 60-70% of the time. My Reddit experience is set to default to the "old" style, so I get the "old" format on all www URLs.

I guess as a workaround I will just manually use the old.reddit.com URLs.

harristom commented 11 months ago

I have the same issue - hovering works on old.* but not www.* and my preferences are also set to use old style

GitAcc53 commented 11 months ago

Same issue on Brave.

philhans commented 10 months ago

I did a little digging into debugging and it seems like this issue is due to reddit limiting requests. You'll end up with the calls for the gallery images getting a "429: TooManyRequests" response. I wonder if it could be due to the fact that it's pre-querying for all the gallery images on a page at once.