From 07c76dee6110224add776ccb137ed93d97f66a06 Mon Sep 17 00:00:00 2001 From: qsniyg Date: Fri, 8 Nov 2024 07:56:51 +0000 Subject: [PATCH] Add more arc sites from website request --- src/userscript.ts | 41 ++++++++++++++++++++++++++++++++++++++++- userscript.user.js | 41 ++++++++++++++++++++++++++++++++++++++++- 2 files changed, 80 insertions(+), 2 deletions(-) diff --git a/src/userscript.ts b/src/userscript.ts index 555bdd9f..45b603ae 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -111078,6 +111078,34 @@ var $$IMU_EXPORT$$; // https://www.nj.com/resizer/v2/NKR3FPARHRDGNNBHG6X3TXV2J4.jpg?auth=c9d4d180304d4d024ac5498d54e550c1a244b4783ab3432446502f296536c664&width=600&height=450&smart=true // https://cloudfront-us-east-1.images.arcpublishing.com/advancelocal/NKR3FPARHRDGNNBHG6X3TXV2J4.jpg domain_nowww === "nj.com" || + // thanks to anonymous for reporting: + // https://www.kn-online.de/resizer/v2/YZRQ522MIFBHHEXIXWIVDXMXSU.jpg?auth=9d78f3115256d353fc0c0bc16ad676dbb71436e299176f76d43f41009a93c845&quality=70&width=596&height=396&smart=true + // https://cloudfront-eu-central-1.images.arcpublishing.com/madsack/YZRQ522MIFBHHEXIXWIVDXMXSU.jpg + domain_nowww === "kn-online.de" || + // thanks to anonymous for reporting: + // https://www.thedailybeast.com/resizer/v2/NFAHP52BEBG7VL6IYQ76BDMEYY.jpg?smart=true&auth=3018549faff46342fa5420fa6a0902487f7d5ee0ad2ca1ef28483608180b29b7&width=1600&height=899 + // https://cloudfront-us-east-1.images.arcpublishing.com/thedailybeast/NFAHP52BEBG7VL6IYQ76BDMEYY.jpg + domain_nowww === "thedailybeast.com" || + // thanks to anonymous for reporting: + // https://resizer.glanacion.com/resizer/v2/paro-de-intergargo-y-aeronauticos-en-aeroparque-FB64XC5PU5BN3KY4CFCTDPSUHU.JPG?auth=1459d2883fad3b16fd9b543ece73a6543b65a72af93608350e9f9efb3bac4be1&width=302&height=201&quality=70&smart=true + // https://cloudfront-us-east-1.images.arcpublishing.com/lanacionar/paro-de-intergargo-y-aeronauticos-en-aeroparque-FB64XC5PU5BN3KY4CFCTDPSUHU.JPG + domain === "resizer.glanacion.com" || + // thanks to anonymous for reporting: + // https://www.lanacion.com.ar/resizer/v2/donald-trump-y-javier-UJQQYMO6VRE3JFUC7GYRSMLRGU.jpeg?auth=6fa75a9d093929ba457fd50da953b7be7b43d0b889d74b36a387944b9f382274&width=488&height=325&quality=70&smart=true + // https://cloudfront-us-east-1.images.arcpublishing.com/lanacionar/donald-trump-y-javier-UJQQYMO6VRE3JFUC7GYRSMLRGU.jpeg + domain_nowww === "lanacion.com.ar" || + // thanks to anonymous for reporting: + // https://www.oregonlive.com/resizer/v2/ET6KPTM4OJBNHH4CMZVOD6QSXY.jpg?auth=bfd2d714d208d3b6d065127f2ae5d7caeae30d47591b7989b456f2124f696c0d&width=500&quality=90 + // https://cloudfront-us-east-1.images.arcpublishing.com/advancelocal/ET6KPTM4OJBNHH4CMZVOD6QSXY.jpg + domain_nowww === "oregonlive.com" || + // thanks to anonymous for reporting: + // https://www.ln-online.de/resizer/v2/V65QYIXUVHMFR6OTPLZT3V76LU.jpg?auth=9c2b99ff49ffdbae9d7d604a799e3d0e32358548a82a9390714552d7c0442b7f&quality=70&width=1441&height=1441&smart=true + // https://cloudfront-eu-central-1.images.arcpublishing.com/madsack/V65QYIXUVHMFR6OTPLZT3V76LU.jpg + domain_nowww === "ln-online.de" || + // thanks to anonymous for reporting: + // https://www.estadao.com.br/resizer/v2/CGTWQPIB2RGGXKG6ABE74R2VFY.jpg?quality=80&auth=9024e28b84d92ec28de196e743cb353157a40e99ce5891e900469b519854444b&width=360&height=202&smart=true + // https://cloudfront-us-east-1.images.arcpublishing.com/estadao/CGTWQPIB2RGGXKG6ABE74R2VFY.jpg + domain_nowww === "estadao.com.br" || // thanks to roi: // https://www.theglobeandmail.com/resizer/v2/MIMBGW3UORBLZMMTL2GASZ75JE.JPG?auth=c570680e25c89027c795085ce398d06291485e026f2830e996db3e2d9a71d3d8&width=900&quality=80 // https://cloudfront-us-east-1.images.arcpublishing.com/tgam/MIMBGW3UORBLZMMTL2GASZ75JE.JPG @@ -111092,7 +111120,8 @@ var $$IMU_EXPORT$$; else if (domain_nowww === "reuters.com") info = {folder: "reuters", loc: "us-east-2"}; else if (domain_nowww === "masslive.com" || - domain_nowww === "nj.com") + domain_nowww === "nj.com" || + domain_nowww === "oregonlive.com") info = {folder: "advancelocal", loc: "us-east-1"}; else if (domain_nowww === "theglobeandmail.com") info = {folder: "tgam", loc: "us-east-1"}; @@ -111104,6 +111133,16 @@ var $$IMU_EXPORT$$; info = {folder: "gray", loc: "us-east-1"}; else if (domain_nowww === "ajc.com") info = {folder: "ajc", loc: "us-east-1"}; + else if (domain_nowww === "kn-online.de" || + domain_nowww === "ln-online.de") + info = {folder: "madsack", loc: "eu-central-1"}; + else if (domain_nowww === "thedailybeast.com") + info = {folder: "thedailybeast", loc: "us-east-1"}; + else if (domain_nosub === "glanacion.com" || + domain_nowww === "lanacion.com.ar") + info = {folder: "lanacionar", loc: "us-east-1"}; + else if (domain_nowww === "estadao.com.br") + info = {folder: "estadao", loc: "us-east-1"}; newsrc = src.replace(/^[a-z]+:\/\/[^/]+\/+resizer\/+v2\/+([^?#/]+)(?:[?#].*)?$/, "https://cloudfront-" + info.loc + ".images.arcpublishing.com/" + info.folder + "/$1"); if (newsrc !== src) diff --git a/userscript.user.js b/userscript.user.js index 018cc1ab..f42a75ed 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -99878,6 +99878,34 @@ var $$IMU_EXPORT$$; // https://www.nj.com/resizer/v2/NKR3FPARHRDGNNBHG6X3TXV2J4.jpg?auth=c9d4d180304d4d024ac5498d54e550c1a244b4783ab3432446502f296536c664&width=600&height=450&smart=true // https://cloudfront-us-east-1.images.arcpublishing.com/advancelocal/NKR3FPARHRDGNNBHG6X3TXV2J4.jpg domain_nowww === "nj.com" || + // thanks to anonymous for reporting: + // https://www.kn-online.de/resizer/v2/YZRQ522MIFBHHEXIXWIVDXMXSU.jpg?auth=9d78f3115256d353fc0c0bc16ad676dbb71436e299176f76d43f41009a93c845&quality=70&width=596&height=396&smart=true + // https://cloudfront-eu-central-1.images.arcpublishing.com/madsack/YZRQ522MIFBHHEXIXWIVDXMXSU.jpg + domain_nowww === "kn-online.de" || + // thanks to anonymous for reporting: + // https://www.thedailybeast.com/resizer/v2/NFAHP52BEBG7VL6IYQ76BDMEYY.jpg?smart=true&auth=3018549faff46342fa5420fa6a0902487f7d5ee0ad2ca1ef28483608180b29b7&width=1600&height=899 + // https://cloudfront-us-east-1.images.arcpublishing.com/thedailybeast/NFAHP52BEBG7VL6IYQ76BDMEYY.jpg + domain_nowww === "thedailybeast.com" || + // thanks to anonymous for reporting: + // https://resizer.glanacion.com/resizer/v2/paro-de-intergargo-y-aeronauticos-en-aeroparque-FB64XC5PU5BN3KY4CFCTDPSUHU.JPG?auth=1459d2883fad3b16fd9b543ece73a6543b65a72af93608350e9f9efb3bac4be1&width=302&height=201&quality=70&smart=true + // https://cloudfront-us-east-1.images.arcpublishing.com/lanacionar/paro-de-intergargo-y-aeronauticos-en-aeroparque-FB64XC5PU5BN3KY4CFCTDPSUHU.JPG + domain === "resizer.glanacion.com" || + // thanks to anonymous for reporting: + // https://www.lanacion.com.ar/resizer/v2/donald-trump-y-javier-UJQQYMO6VRE3JFUC7GYRSMLRGU.jpeg?auth=6fa75a9d093929ba457fd50da953b7be7b43d0b889d74b36a387944b9f382274&width=488&height=325&quality=70&smart=true + // https://cloudfront-us-east-1.images.arcpublishing.com/lanacionar/donald-trump-y-javier-UJQQYMO6VRE3JFUC7GYRSMLRGU.jpeg + domain_nowww === "lanacion.com.ar" || + // thanks to anonymous for reporting: + // https://www.oregonlive.com/resizer/v2/ET6KPTM4OJBNHH4CMZVOD6QSXY.jpg?auth=bfd2d714d208d3b6d065127f2ae5d7caeae30d47591b7989b456f2124f696c0d&width=500&quality=90 + // https://cloudfront-us-east-1.images.arcpublishing.com/advancelocal/ET6KPTM4OJBNHH4CMZVOD6QSXY.jpg + domain_nowww === "oregonlive.com" || + // thanks to anonymous for reporting: + // https://www.ln-online.de/resizer/v2/V65QYIXUVHMFR6OTPLZT3V76LU.jpg?auth=9c2b99ff49ffdbae9d7d604a799e3d0e32358548a82a9390714552d7c0442b7f&quality=70&width=1441&height=1441&smart=true + // https://cloudfront-eu-central-1.images.arcpublishing.com/madsack/V65QYIXUVHMFR6OTPLZT3V76LU.jpg + domain_nowww === "ln-online.de" || + // thanks to anonymous for reporting: + // https://www.estadao.com.br/resizer/v2/CGTWQPIB2RGGXKG6ABE74R2VFY.jpg?quality=80&auth=9024e28b84d92ec28de196e743cb353157a40e99ce5891e900469b519854444b&width=360&height=202&smart=true + // https://cloudfront-us-east-1.images.arcpublishing.com/estadao/CGTWQPIB2RGGXKG6ABE74R2VFY.jpg + domain_nowww === "estadao.com.br" || // thanks to roi: // https://www.theglobeandmail.com/resizer/v2/MIMBGW3UORBLZMMTL2GASZ75JE.JPG?auth=c570680e25c89027c795085ce398d06291485e026f2830e996db3e2d9a71d3d8&width=900&quality=80 // https://cloudfront-us-east-1.images.arcpublishing.com/tgam/MIMBGW3UORBLZMMTL2GASZ75JE.JPG @@ -99891,7 +99919,8 @@ var $$IMU_EXPORT$$; else if (domain_nowww === "reuters.com") info_1 = { folder: "reuters", loc: "us-east-2" }; else if (domain_nowww === "masslive.com" || - domain_nowww === "nj.com") + domain_nowww === "nj.com" || + domain_nowww === "oregonlive.com") info_1 = { folder: "advancelocal", loc: "us-east-1" }; else if (domain_nowww === "theglobeandmail.com") info_1 = { folder: "tgam", loc: "us-east-1" }; @@ -99903,6 +99932,16 @@ var $$IMU_EXPORT$$; info_1 = { folder: "gray", loc: "us-east-1" }; else if (domain_nowww === "ajc.com") info_1 = { folder: "ajc", loc: "us-east-1" }; + else if (domain_nowww === "kn-online.de" || + domain_nowww === "ln-online.de") + info_1 = { folder: "madsack", loc: "eu-central-1" }; + else if (domain_nowww === "thedailybeast.com") + info_1 = { folder: "thedailybeast", loc: "us-east-1" }; + else if (domain_nosub === "glanacion.com" || + domain_nowww === "lanacion.com.ar") + info_1 = { folder: "lanacionar", loc: "us-east-1" }; + else if (domain_nowww === "estadao.com.br") + info_1 = { folder: "estadao", loc: "us-east-1" }; newsrc = src.replace(/^[a-z]+:\/\/[^/]+\/+resizer\/+v2\/+([^?#/]+)(?:[?#].*)?$/, "https://cloudfront-" + info_1.loc + ".images.arcpublishing.com/" + info_1.folder + "/$1"); if (newsrc !== src) return newsrc;