From 6c189db0d07b8ec2f41f685b0d49189bbb2b1724 Mon Sep 17 00:00:00 2001 From: Sunny Date: Wed, 27 Mar 2024 12:00:00 +0100 Subject: [PATCH] Add Rausgegangen support --- src/userscript.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/userscript.ts b/src/userscript.ts index 5455eb58..e62bbc0f 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -113349,6 +113349,17 @@ var $$IMU_EXPORT$$; return src.replace(/(\/static\/+)img\/+[^/]+\/+/, "$1original/"); } + if (domain === "imageflow.rausgegangen.de") { + // https://imageflow.rausgegangen.de/url/https%3A//s3.eu-central-1.amazonaws.com/rausgegangen/KBEXIUNKRoqU9HgdGk5z_marz-11png?width=1200&height=900&mode=crop + // https://s3.eu-central-1.amazonaws.com/rausgegangen/KBEXIUNKRoqU9HgdGk5z_marz-11png + + newsrc = src.replace(/^.*?\/url\//, ""); + newsrc = decodeuri_ifneeded(newsrc); + newsrc = remove_queries(newsrc, ["width", "height", "mode"]); + + return newsrc; + } +