Skip to content

Commit

Permalink
Add Rausgegangen support
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastZombie committed Mar 27, 2024
1 parent 28661c3 commit 6c189db
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/userscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}




Expand Down

0 comments on commit 6c189db

Please sign in to comment.