diff --git a/src/userscript.ts b/src/userscript.ts index a7732417..6d16f2df 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -110952,6 +110952,13 @@ var $$IMU_EXPORT$$; return src.replace(/(\/cover\/+[0-9]+)(?:\/.*)?(?:[?#].*)?$/, "$1/xxlarge?dpi=xxxhdpi&format=png"); } + if (domain === "i.crepe.land") { + // thanks to Froktime on github: https://github.com/qsniyg/maxurl/issues/1259 + // https://i.crepe.land/https://crepe.land/portfolio/0/0t/0tfibilw6uaf2k1n3mrwml6va2s8ap29_%EC%8A%A4%ED%8B%B4%ED%82%B9.png?q=100&t=i&v=3a&w=800&x=1 + // https://crepe.land/portfolio/0/0t/0tfibilw6uaf2k1n3mrwml6va2s8ap29_%EC%8A%A4%ED%8B%B4%ED%82%B9.png + return src.replace(/^[a-z]+:\/\/[^/]+\/+(https?:\/\/.*?)(?:[?#].*)?$/, "$1"); + } + diff --git a/userscript.user.js b/userscript.user.js index d8b04bd2..ca43ba50 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -99576,6 +99576,12 @@ var $$IMU_EXPORT$$; // https://img.ridicdn.net/cover/4851000001/xxlarge?dpi=xxxhdpi&format=png return src.replace(/(\/cover\/+[0-9]+)(?:\/.*)?(?:[?#].*)?$/, "$1/xxlarge?dpi=xxxhdpi&format=png"); } + if (domain === "i.crepe.land") { + // thanks to Froktime on github: https://github.com/qsniyg/maxurl/issues/1259 + // https://i.crepe.land/https://crepe.land/portfolio/0/0t/0tfibilw6uaf2k1n3mrwml6va2s8ap29_%EC%8A%A4%ED%8B%B4%ED%82%B9.png?q=100&t=i&v=3a&w=800&x=1 + // https://crepe.land/portfolio/0/0t/0tfibilw6uaf2k1n3mrwml6va2s8ap29_%EC%8A%A4%ED%8B%B4%ED%82%B9.png + return src.replace(/^[a-z]+:\/\/[^/]+\/+(https?:\/\/.*?)(?:[?#].*)?$/, "$1"); + } // -- general rules -- if (src.match(/\/ImageGen\.ashx\?/)) { // http://www.lookalikes.info/umbraco/ImageGen.ashx?image=/media/97522/nick%20hewer%20-%20mark%20brown.jpeg&width=250&constrain=true