diff --git a/src/userscript.ts b/src/userscript.ts index 969b141e..59374f34 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -113666,6 +113666,16 @@ var $$IMU_EXPORT$$; return src.replace(/(\/prod\/+[^/]+\/+projects\/+[0-9]+\/+[^/]+\/+[^/]+)_w[0-9]+\./, "$1."); } + if (domain === "img.chil-chil.net") { + // thanks to Froktime on github: https://github.com/qsniyg/maxurl/issues/1306 + // https://img.chil-chil.net/goods_img/L/00140048_L.jpg + // https://img.chil-chil.net/goods_img/XXL/00140048_XXL.jpg -- 640x909 + return { + url: src.replace(/(\/goods_img\/+)X?[ML]\/+([0-9]+)_X?[ML]\./, "$1XXL/$2_XXL."), + problems: {possibly_upscaled: true} + } + } + diff --git a/userscript.user.js b/userscript.user.js index 6f26a2e9..522b4720 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -102048,6 +102048,15 @@ var $$IMU_EXPORT$$; // https://storage.googleapis.com/image-ichiba2/prod/froala/projects/710/ubgoe/ncpdUqbSBMtLLwnE6h-xWA.jpg return src.replace(/(\/prod\/+[^/]+\/+projects\/+[0-9]+\/+[^/]+\/+[^/]+)_w[0-9]+\./, "$1."); } + if (domain === "img.chil-chil.net") { + // thanks to Froktime on github: https://github.com/qsniyg/maxurl/issues/1306 + // https://img.chil-chil.net/goods_img/L/00140048_L.jpg + // https://img.chil-chil.net/goods_img/XXL/00140048_XXL.jpg -- 640x909 + return { + url: src.replace(/(\/goods_img\/+)X?[ML]\/+([0-9]+)_X?[ML]\./, "$1XXL/$2_XXL."), + problems: { possibly_upscaled: true } + }; + } // -- 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