diff --git a/src/userscript.ts b/src/userscript.ts index 39845044..5517cd19 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -52134,6 +52134,10 @@ var $$IMU_EXPORT$$; // https://static.zerochan.net/IA.full.878867.jpg // https://static.zerochan.net/Kirigaya.Kazuto.600.1450176.jpg // https://static.zerochan.net/Kirigaya.Kazuto.full.1450176.jpg + // thanks to Froktime on github: https://github.com/qsniyg/maxurl/issues/1341 + // https://s1.zerochan.net/Berusaiyu.no.Bara.600.3749354.jpg + // https://static.zerochan.net/Berusaiyu.no.Bara.full.3749354.png + obj = { url: src }; @@ -52150,6 +52154,10 @@ var $$IMU_EXPORT$$; // https://static.zerochan.net/full/21/19/413471.jpg .replace(/(:\/\/[^/]+\/+)[0-9]+\/+([0-9]+\/+[0-9]+\/+[0-9]+\.)/, "$1full/$2"); + if (obj.url !== src) { + return fillobj_urls(add_extensions(obj.url), obj); + } + return obj; } diff --git a/userscript.user.js b/userscript.user.js index 013dad68..91785ad7 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -47559,6 +47559,9 @@ var $$IMU_EXPORT$$; // https://static.zerochan.net/IA.full.878867.jpg // https://static.zerochan.net/Kirigaya.Kazuto.600.1450176.jpg // https://static.zerochan.net/Kirigaya.Kazuto.full.1450176.jpg + // thanks to Froktime on github: https://github.com/qsniyg/maxurl/issues/1341 + // https://s1.zerochan.net/Berusaiyu.no.Bara.600.3749354.jpg + // https://static.zerochan.net/Berusaiyu.no.Bara.full.3749354.png obj = { url: src }; @@ -47572,6 +47575,9 @@ var $$IMU_EXPORT$$; // https://static.zerochan.net/240/21/19/413471.jpg // https://static.zerochan.net/full/21/19/413471.jpg .replace(/(:\/\/[^/]+\/+)[0-9]+\/+([0-9]+\/+[0-9]+\/+[0-9]+\.)/, "$1full/$2"); + if (obj.url !== src) { + return fillobj_urls(add_extensions(obj.url), obj); + } return obj; } if (domain === "cdn.aibooru.download") {