Fix image links on Old Reddit

Fix opening redd.it image links on Old Reddit

Yazar
Abdurazaaq Mohammed
Günlük kurulumlar
3
Toplam kurulumlar
322
Değerlendirmeler
1 0 0
Versiyon
1.1.2
Oluşturulma
15.01.2024
Güncellenme
22.09.2024
Lisans
Unlicense
Geçerli

For some reason, Reddit decided to make i.redd.it and preview.redd.it images open a viewer in New Reddit when you click on them, despite them still being a direct image.
This uses a bunch of resources uselessly. Also, Reddit did not implement the image viewer in Old Reddit, so if you use a userscript to redirect all Reddit links to Old Reddit, it will break image links you click on or force you to exclude image links and use the New Reddit viewer.

Solution: Since the image is still a direct image, we can just open the image link in any external image viewer. So I just made a very simple website to display an image from a link, put it on GitHub, and redirect redd.it images to it with this userscript.