nopperl / load-reddit-images-directly

Firefox web extension that loads reddit images directly instead of referring to the HTML page containing the image.
https://addons.mozilla.org/en-US/firefox/addon/load-reddit-images-directly/
Mozilla Public License 2.0
112 stars 7 forks source link

Images are darkened when browsing through subreddits #11

Closed Tiagoquix closed 6 months ago

Tiagoquix commented 6 months ago

It seems like since the introduction of #9 and having the option enabled some images will be darkened after scrolling through the subreddit for a while. This behavior is inconsistent. I think it has something to do with the lightbox, since the lightbox also exists when not in a post and instead in a general view such as https://www.reddit.com/r/memes/top/?t=all.

Tiagoquix commented 6 months ago

One way to fix this would to be to only apply the setting for https://www.reddit.com/r/*/comments/* links, since skipping the lightbox is only useful there (for preview/general view modes the lightbox is nice).

nopperl commented 6 months ago

Good idea, this should have been restricted to it from the start.