diff --git a/src/userscript.ts b/src/userscript.ts index 7a1375c3..8ce137a5 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -29050,6 +29050,10 @@ var $$IMU_EXPORT$$; // https://resources.mynewsdesk.com/image/upload/ar_16:9,c_fill,dpr_auto,f_auto,g_auto,q_auto:good,w_746/lr6uyrf6pnefauywylkq // https://resources.mynewsdesk.com/image/upload/ar_16:9,c_fill,dpr_auto,f_auto,g_auto,q_auto:good,w_746/lr6uyrf6pnefauywylkq domain === "resources.mynewsdesk.com" || + // thanks to anonymous for reporting: + // https://brand.assets.adidas.com/image/upload/f_auto,fl_lossy,q_1/enUS/Images/xcat-fw20-rfc-DerrickRose-statement-02-d_tcm221-581175.jpg + // https://brand.assets.adidas.com/image/upload/enUS/Images/xcat-fw20-rfc-DerrickRose-statement-02-d_tcm221-581175.jpg + domain === "brand.assets.adidas.com" || // thanks to karpuzikov on github: https://github.com/qsniyg/maxurl/issues/1066 // https://resource.logitechg.com/w_677,ar_1:1,c_limit,b_rgb:2f3132,q_auto,f_auto,dpr_auto/d_transparent.gif/content/dam/gaming/en/homepage/product-swatch-carousel/home-product-swatch-4.png?v=1 // https://resource.logitechg.com/content/dam/gaming/en/homepage/product-swatch-carousel/home-product-swatch-4.png?v=1 @@ -32998,6 +33002,9 @@ var $$IMU_EXPORT$$; // thanks to anonymous for reporting: // https://cdn.hobbyconsolas.com/sites/navi.axelspringer.es/public/media/image/2014/09/388292-caja-metalica-contenidos-exclusivos-comprar-ravens-cry-game.jpg?tf=1200x domain === "cdn.hobbyconsolas.com" || + // thanks to tathastu871 on discord: + // https://www.nottingham.ac.uk/Homepage-2021/Images/Hero/Normal-Never-Changed-the-World/Mobile/uon-bbw-603.xcc4dd816.jpg?w=1820&h=1213&crop=1820,500,0,99 + (domain_nowww === "nottingham.ac.uk" && /\/images\//i.test(src)) || // http://us.jimmychoo.com/dw/image/v2/AAWE_PRD/on/demandware.static/-/Sites-jch-master-product-catalog/default/dw70b1ebd2/images/rollover/LIZ100MPY_120004_MODEL.jpg?sw=245&sh=245&sm=fit // https://www.aritzia.com/on/demandware.static/-/Library-Sites-Aritzia_Shared/default/dw3a7fef87/seasonal/ss18/ss18-springsummercampaign/ss18-springsummercampaign-homepage/hptiles/tile-wilfred-lrg.jpg src.match(/\/demandware\.static\//) || @@ -41688,6 +41695,13 @@ var $$IMU_EXPORT$$; return src.replace(/(\/stage_pia)\/+assets_[^/]*\/+[0-9]{4}\/+[0-9]{2}\/+([^-/]*)-.*(\.[^/.]*)$/, "$1/img/$2$3"); } + if (domain === "lp.p.pia.jp") { + // thanks to fireattack on discord: + // https://lp.p.pia.jp/shared/materials/c1cbec6b-4af1-4a2e-a0af-6947bb586a24/thumbnail + // https://lp.p.pia.jp/shared/materials/c1cbec6b-4af1-4a2e-a0af-6947bb586a24/origin.jpg + return src.replace(/(\/shared\/+materials\/+[-0-9a-f]{10,}\/+)thumbnail(?:[?#].*)?$/, "$1origin.jpg"); + } + if (domain === "cdn.fashionsnap.com" || // thanks to fireattack on discord for reporting // https://www.fashionsnap.com/collection/assets_c/2017/09/helpern-18ss_001-thumb-440xauto-748590.jpg @@ -105963,7 +105977,11 @@ var $$IMU_EXPORT$$; // https://wl-brightside.cf.tsp.li/compressed/2e6/d91/8f964f549cb9c0ad1deb6723d0.jpg return src //.replace(/\/compressed\/+/, "/") // doesn't work - .replace(/\/resize\/+[0-9]*x[0-9]*\/+(?:jpg|png)\/+/, "/compressed/"); + .replace(/\/resize\/+[0-9]*x[0-9]*\/+(?:jpg|png)\/+/, "/compressed/") + // thanks to anonymous for reporting: + // https://wl-brightside.cf.tsp.li/resize/728x/webp/a22/cc8/826c6c5bce95d41eb5ae225a2e.jpg.webp + // https://wl-brightside.cf.tsp.li/compressed/a22/cc8/826c6c5bce95d41eb5ae225a2e.jpg + .replace(/\/resize\/+[0-9]*x[0-9]*\/+webp\/+(.*?\.[a-z]+)\.webp(?:[?#].*)?$/, "/compressed/$1"); } if (domain_nowww === "means.tv") { @@ -107851,6 +107869,13 @@ var $$IMU_EXPORT$$; ]; } + if (domain === "cdn-icons-png.freepik.com") { + // thanks to anonymous for reporting: + // https://cdn-icons-png.freepik.com/256/4173/4173082.png?semt=ais_hybrid + // https://cdn-icons-png.freepik.com/512/4173/4173082.png?semt=ais_hybrid + return src.replace(/(:\/\/[^/]+\/+)(?:16|32|64|128|256)\/+/, "$1512/"); + } + if (domain === "img.poipiku.com") { // thanks to contextnerror on github: https://github.com/qsniyg/maxurl/issues/1043 // https://poipiku.com/1730391/6923507.html diff --git a/userscript.user.js b/userscript.user.js index dd957042..b7512c13 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -26507,6 +26507,10 @@ var $$IMU_EXPORT$$; // https://resources.mynewsdesk.com/image/upload/ar_16:9,c_fill,dpr_auto,f_auto,g_auto,q_auto:good,w_746/lr6uyrf6pnefauywylkq // https://resources.mynewsdesk.com/image/upload/ar_16:9,c_fill,dpr_auto,f_auto,g_auto,q_auto:good,w_746/lr6uyrf6pnefauywylkq domain === "resources.mynewsdesk.com" || + // thanks to anonymous for reporting: + // https://brand.assets.adidas.com/image/upload/f_auto,fl_lossy,q_1/enUS/Images/xcat-fw20-rfc-DerrickRose-statement-02-d_tcm221-581175.jpg + // https://brand.assets.adidas.com/image/upload/enUS/Images/xcat-fw20-rfc-DerrickRose-statement-02-d_tcm221-581175.jpg + domain === "brand.assets.adidas.com" || // thanks to karpuzikov on github: https://github.com/qsniyg/maxurl/issues/1066 // https://resource.logitechg.com/w_677,ar_1:1,c_limit,b_rgb:2f3132,q_auto,f_auto,dpr_auto/d_transparent.gif/content/dam/gaming/en/homepage/product-swatch-carousel/home-product-swatch-4.png?v=1 // https://resource.logitechg.com/content/dam/gaming/en/homepage/product-swatch-carousel/home-product-swatch-4.png?v=1 @@ -30156,6 +30160,9 @@ var $$IMU_EXPORT$$; // thanks to anonymous for reporting: // https://cdn.hobbyconsolas.com/sites/navi.axelspringer.es/public/media/image/2014/09/388292-caja-metalica-contenidos-exclusivos-comprar-ravens-cry-game.jpg?tf=1200x domain === "cdn.hobbyconsolas.com" || + // thanks to tathastu871 on discord: + // https://www.nottingham.ac.uk/Homepage-2021/Images/Hero/Normal-Never-Changed-the-World/Mobile/uon-bbw-603.xcc4dd816.jpg?w=1820&h=1213&crop=1820,500,0,99 + (domain_nowww === "nottingham.ac.uk" && /\/images\//i.test(src)) || // http://us.jimmychoo.com/dw/image/v2/AAWE_PRD/on/demandware.static/-/Sites-jch-master-product-catalog/default/dw70b1ebd2/images/rollover/LIZ100MPY_120004_MODEL.jpg?sw=245&sh=245&sm=fit // https://www.aritzia.com/on/demandware.static/-/Library-Sites-Aritzia_Shared/default/dw3a7fef87/seasonal/ss18/ss18-springsummercampaign/ss18-springsummercampaign-homepage/hptiles/tile-wilfred-lrg.jpg src.match(/\/demandware\.static\//) || @@ -38124,6 +38131,12 @@ var $$IMU_EXPORT$$; // http://community.pia.jp/stage_pia/img/f1c186063ebf744104f7bc4db633ba0bcde8c0d0.jpg return src.replace(/(\/stage_pia)\/+assets_[^/]*\/+[0-9]{4}\/+[0-9]{2}\/+([^-/]*)-.*(\.[^/.]*)$/, "$1/img/$2$3"); } + if (domain === "lp.p.pia.jp") { + // thanks to fireattack on discord: + // https://lp.p.pia.jp/shared/materials/c1cbec6b-4af1-4a2e-a0af-6947bb586a24/thumbnail + // https://lp.p.pia.jp/shared/materials/c1cbec6b-4af1-4a2e-a0af-6947bb586a24/origin.jpg + return src.replace(/(\/shared\/+materials\/+[-0-9a-f]{10,}\/+)thumbnail(?:[?#].*)?$/, "$1origin.jpg"); + } if (domain === "cdn.fashionsnap.com" || // thanks to fireattack on discord for reporting // https://www.fashionsnap.com/collection/assets_c/2017/09/helpern-18ss_001-thumb-440xauto-748590.jpg @@ -95149,7 +95162,11 @@ var $$IMU_EXPORT$$; // https://wl-brightside.cf.tsp.li/compressed/2e6/d91/8f964f549cb9c0ad1deb6723d0.jpg return src //.replace(/\/compressed\/+/, "/") // doesn't work - .replace(/\/resize\/+[0-9]*x[0-9]*\/+(?:jpg|png)\/+/, "/compressed/"); + .replace(/\/resize\/+[0-9]*x[0-9]*\/+(?:jpg|png)\/+/, "/compressed/") + // thanks to anonymous for reporting: + // https://wl-brightside.cf.tsp.li/resize/728x/webp/a22/cc8/826c6c5bce95d41eb5ae225a2e.jpg.webp + // https://wl-brightside.cf.tsp.li/compressed/a22/cc8/826c6c5bce95d41eb5ae225a2e.jpg + .replace(/\/resize\/+[0-9]*x[0-9]*\/+webp\/+(.*?\.[a-z]+)\.webp(?:[?#].*)?$/, "/compressed/$1"); } if (domain_nowww === "means.tv") { // https://github.com/ytdl-org/youtube-dl/issues/29070 @@ -96847,6 +96864,12 @@ var $$IMU_EXPORT$$; } ]; } + if (domain === "cdn-icons-png.freepik.com") { + // thanks to anonymous for reporting: + // https://cdn-icons-png.freepik.com/256/4173/4173082.png?semt=ais_hybrid + // https://cdn-icons-png.freepik.com/512/4173/4173082.png?semt=ais_hybrid + return src.replace(/(:\/\/[^/]+\/+)(?:16|32|64|128|256)\/+/, "$1512/"); + } if (domain === "img.poipiku.com") { // thanks to contextnerror on github: https://github.com/qsniyg/maxurl/issues/1043 // https://poipiku.com/1730391/6923507.html