diff --git a/src/userscript.ts b/src/userscript.ts index 7f52a4e8..5d22a94c 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -108464,6 +108464,17 @@ var $$IMU_EXPORT$$; } } + if (domain_nowww === "out.com" || + // thanks to sn3akyb3ar and tathastu871 on github: https://github.com/qsniyg/maxurl/issues/1325 + // https://coveteur.com/media-library/image.jpg?id=52237495&width=980 + // https://coveteur.com/media-library/image.jpg?id=52237495&quality=100 + domain_nowww === "coveteur.com") { + // thanks to anonymous for reporting: + // https://www.out.com/media-library/image.jpg?id=43524876&height=784&quality=85 + // https://www.out.com/media-library/image.jpg?id=43524876&quality=100 + return src.replace(/(\/media-library\/+.*\?)(?:.*&)?(id=[0-9]+).*?$/, "$1$2&quality=100"); + } + if (domain_nowww === "figureskating-online.com") { // thanks to roi: // http://figureskating-online.com/ce_photo/html/image.html?imageUrl=../..//mediapool/50/505569/images/Saison_22_23/DM/321844708_2981902172118785_2171735178698403583_n.jpg&width=1020&height=680&bgSoundUrl=../../&bgSoundLoop=true&soundPath=../../sound @@ -113508,17 +113519,6 @@ var $$IMU_EXPORT$$; .replace(/\/r\/+.*?\/(images\/+[a-z]+\/+.*)(?:@[a-z]+)(?:[?#].*)?$/, "/$1"); } - if (domain_nowww === "out.com" || - // thanks to sn3akyb3ar and tathastu871 on github: https://github.com/qsniyg/maxurl/issues/1325 - // https://coveteur.com/media-library/image.jpg?id=52237495&width=980 - // https://coveteur.com/media-library/image.jpg?id=52237495&quality=100 - domain_nowww === "coveteur.com") { - // thanks to anonymous for reporting: - // https://www.out.com/media-library/image.jpg?id=43524876&height=784&quality=85 - // https://www.out.com/media-library/image.jpg?id=43524876&quality=100 - return src.replace(/(\/media-library\/+.*\?)(?:.*&)?(id=[0-9]+).*?$/, "$1$2&quality=100"); - } - if (domain === "img.audiofanzine.com") { // thanks to anonymous for reporting: // https://img.audiofanzine.com/img/product/normal/2/0/20039.jpg?fm=webp&w=300&h=218&fit=max&s=8ebdb40d38fde7162fda030e62cc70b3 diff --git a/userscript.user.js b/userscript.user.js index 8aad2ea5..f0cd2811 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -97396,6 +97396,16 @@ var $$IMU_EXPORT$$; return src.replace(/[?#].*/, "?id=" + match[1]); } } + if (domain_nowww === "out.com" || + // thanks to sn3akyb3ar and tathastu871 on github: https://github.com/qsniyg/maxurl/issues/1325 + // https://coveteur.com/media-library/image.jpg?id=52237495&width=980 + // https://coveteur.com/media-library/image.jpg?id=52237495&quality=100 + domain_nowww === "coveteur.com") { + // thanks to anonymous for reporting: + // https://www.out.com/media-library/image.jpg?id=43524876&height=784&quality=85 + // https://www.out.com/media-library/image.jpg?id=43524876&quality=100 + return src.replace(/(\/media-library\/+.*\?)(?:.*&)?(id=[0-9]+).*?$/, "$1$2&quality=100"); + } if (domain_nowww === "figureskating-online.com") { // thanks to roi: // http://figureskating-online.com/ce_photo/html/image.html?imageUrl=../..//mediapool/50/505569/images/Saison_22_23/DM/321844708_2981902172118785_2171735178698403583_n.jpg&width=1020&height=680&bgSoundUrl=../../&bgSoundLoop=true&soundPath=../../sound @@ -101915,16 +101925,6 @@ var $$IMU_EXPORT$$; .replace(/(:\/\/[^/]+\/+images\/+[a-z]+\/+[0-9]+\/+[0-9]+\/+[0-9]+\/+)(?:large|medium)_/, "$1") .replace(/\/r\/+.*?\/(images\/+[a-z]+\/+.*)(?:@[a-z]+)(?:[?#].*)?$/, "/$1"); } - if (domain_nowww === "out.com" || - // thanks to sn3akyb3ar and tathastu871 on github: https://github.com/qsniyg/maxurl/issues/1325 - // https://coveteur.com/media-library/image.jpg?id=52237495&width=980 - // https://coveteur.com/media-library/image.jpg?id=52237495&quality=100 - domain_nowww === "coveteur.com") { - // thanks to anonymous for reporting: - // https://www.out.com/media-library/image.jpg?id=43524876&height=784&quality=85 - // https://www.out.com/media-library/image.jpg?id=43524876&quality=100 - return src.replace(/(\/media-library\/+.*\?)(?:.*&)?(id=[0-9]+).*?$/, "$1$2&quality=100"); - } if (domain === "img.audiofanzine.com") { // thanks to anonymous for reporting: // https://img.audiofanzine.com/img/product/normal/2/0/20039.jpg?fm=webp&w=300&h=218&fit=max&s=8ebdb40d38fde7162fda030e62cc70b3