您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script uses the farside.link gateway to redirect images direcly on reddit
// ==UserScript== // @name Reddit Image Directly // @namespace https://greasyfork.org/users/821661 // @match https://www.reddit.com/media?url=* // @grant none // @version 1.2 // @run-at document-start // @license GPL-3.0 // @author hdyzen // @description This script uses the farside.link gateway to redirect images direcly on reddit // ==/UserScript== const getImgUrl = () => { try { const url = new URL(window.location.href); const imageUrl = new URL(url.searchParams.get("url")); return imageUrl.pathname; } catch (err) { console.error("Error on get image url:", err); return "unknow"; } }; window.location.href = `https://go-reddit-load-image-directly.vercel.app/${getImgUrl()}`;