Greasy Fork is available in English.

Fix image links on Old Reddit

Fix opening redd.it image links on Old Reddit

作者のサイトでサポートを受ける。または、このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Abdurazaaq Mohammed
1日のインストール数
2
累計インストール数
179
評価
1 0 0
バージョン
1.0.2
作成日
2024/01/15
更新日
2024/05/28
ライセンス
Unlicense
対象サイト

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 image from a link, put it on GitHub, and redirect redd.it images to it with this userscript.