From a19a6845408c233e3886f42a4b8319723e45d464 Mon Sep 17 00:00:00 2001 From: qsniyg Date: Mon, 30 Dec 2024 19:57:17 +0000 Subject: [PATCH] More websites/rules --- src/userscript.ts | 28 +++++++++++++++++++++++++++- userscript.user.js | 27 ++++++++++++++++++++++++++- 2 files changed, 53 insertions(+), 2 deletions(-) diff --git a/src/userscript.ts b/src/userscript.ts index f482f533..f6f349eb 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -27345,6 +27345,7 @@ var $$IMU_EXPORT$$; domain === "twitr.gq" || domain === "nitter.koyu.space" || domain === "nitter.dark.fail" || + domain === "nitter.poast.org" || //domain === "t.maisputain.ovh" || //domain === "nitter.weaponizedhumiliation.com" || domain === "nitter.snopyta.org"; @@ -111706,6 +111707,10 @@ var $$IMU_EXPORT$$; // https://www.chosun.com/resizer/v2/LBWQMMKOPU3FOOU7AHHKXOUR7A.jpg?auth=4c1e3e585ef4b85292596e1096ee52c493d1eb8cc5fb1aec90ca107c7eebd61d&width=530&height=742&smart=true // https://cloudfront-ap-northeast-1.images.arcpublishing.com/chosun/LBWQMMKOPU3FOOU7AHHKXOUR7A.jpg domain_nowww === "chosun.com" || + // thanks to arlenestrigger on discord for reporting: + // https://www.hawaiinewsnow.com/resizer/EaNm4i_Y7Y9UHcofx9u57R2VF1c=/300x0/arc-photo-gray/arc3-prod/public/ISNN7NFXLFFG3DF4QYVJF7ZUI4.jpg + // https://cloudfront-us-east-1.images.arcpublishing.com/gray/ISNN7NFXLFFG3DF4QYVJF7ZUI4.jpg + domain_nowww === "hawaiinewsnow.com" || // 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 @@ -111729,7 +111734,8 @@ var $$IMU_EXPORT$$; info = {folder: "prisa", loc: "eu-central-1"}; else if (domain_nowww === "shropshirestar.com") info = {folder: "mna", loc: "us-east-1"}; - else if (domain_nosub === "gtv-cdn.com") + else if (domain_nosub === "gtv-cdn.com" || + domain_nowww === "hawaiinewsnow.com") info = {folder: "gray", loc: "us-east-1"}; else if (domain_nowww === "ajc.com" || domain_nowww === "dawgnation.com") @@ -112066,6 +112072,26 @@ var $$IMU_EXPORT$$; return decodeuri_ifneeded(newsrc); } + // Binternet + if (domain === "bn.bloat.cat" || + // https://bn.opnxng.com/image_proxy.php?url=https://i.pinimg.com/originals/93/8d/51/938d51c8291f006b0146aa7e8dda7b5f.jpg + // https://i.pinimg.com/originals/93/8d/51/938d51c8291f006b0146aa7e8dda7b5f.jpg + domain === "bn.opnxng.com" || + domain === "binternet.4o1x5.dev" || + domain === "binternet.privacyredirect.com" || + domain === "pin.blitzw.in" || + domain === "binternet.canine.tools" || + domain === "binternet.ducks.party") { + // https://github.com/Ahwxorg/binternet/ + // uses https://github.com/Ahwxorg/LibreY for the image proxy + // thanks to anonymous for reporting: + // https://bn.bloat.cat/image_proxy.php?url=https://i.pinimg.com/originals/6a/a7/8a/6aa78aef47fc59f110a64576d7edf4d1.jpg + // https://i.pinimg.com/originals/6a/a7/8a/6aa78aef47fc59f110a64576d7edf4d1.jpg + newsrc = src.replace(/^[a-z]+:\/\/[^/]+\/+image_proxy\.php\?(?:.*&)?url=([^&]+).*?$/, "$1"); + if (newsrc !== src) + return decodeuri_ifneeded(newsrc); + } + // ochre if (domain === "d1rgjmn2wmqeif.cloudfront.net") { // thanks to anonymous for reporting: diff --git a/userscript.user.js b/userscript.user.js index 12b23b4c..303e23c3 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -25048,6 +25048,7 @@ var $$IMU_EXPORT$$; domain === "twitr.gq" || domain === "nitter.koyu.space" || domain === "nitter.dark.fail" || + domain === "nitter.poast.org" || //domain === "t.maisputain.ovh" || //domain === "nitter.weaponizedhumiliation.com" || domain === "nitter.snopyta.org"; @@ -100430,6 +100431,10 @@ var $$IMU_EXPORT$$; // https://www.chosun.com/resizer/v2/LBWQMMKOPU3FOOU7AHHKXOUR7A.jpg?auth=4c1e3e585ef4b85292596e1096ee52c493d1eb8cc5fb1aec90ca107c7eebd61d&width=530&height=742&smart=true // https://cloudfront-ap-northeast-1.images.arcpublishing.com/chosun/LBWQMMKOPU3FOOU7AHHKXOUR7A.jpg domain_nowww === "chosun.com" || + // thanks to arlenestrigger on discord for reporting: + // https://www.hawaiinewsnow.com/resizer/EaNm4i_Y7Y9UHcofx9u57R2VF1c=/300x0/arc-photo-gray/arc3-prod/public/ISNN7NFXLFFG3DF4QYVJF7ZUI4.jpg + // https://cloudfront-us-east-1.images.arcpublishing.com/gray/ISNN7NFXLFFG3DF4QYVJF7ZUI4.jpg + domain_nowww === "hawaiinewsnow.com" || // 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 @@ -100452,7 +100457,8 @@ var $$IMU_EXPORT$$; info_1 = { folder: "prisa", loc: "eu-central-1" }; else if (domain_nowww === "shropshirestar.com") info_1 = { folder: "mna", loc: "us-east-1" }; - else if (domain_nosub === "gtv-cdn.com") + else if (domain_nosub === "gtv-cdn.com" || + domain_nowww === "hawaiinewsnow.com") info_1 = { folder: "gray", loc: "us-east-1" }; else if (domain_nowww === "ajc.com" || domain_nowww === "dawgnation.com") @@ -100759,6 +100765,25 @@ var $$IMU_EXPORT$$; if (newsrc !== src) return decodeuri_ifneeded(newsrc); } + // Binternet + if (domain === "bn.bloat.cat" || + // https://bn.opnxng.com/image_proxy.php?url=https://i.pinimg.com/originals/93/8d/51/938d51c8291f006b0146aa7e8dda7b5f.jpg + // https://i.pinimg.com/originals/93/8d/51/938d51c8291f006b0146aa7e8dda7b5f.jpg + domain === "bn.opnxng.com" || + domain === "binternet.4o1x5.dev" || + domain === "binternet.privacyredirect.com" || + domain === "pin.blitzw.in" || + domain === "binternet.canine.tools" || + domain === "binternet.ducks.party") { + // https://github.com/Ahwxorg/binternet/ + // uses https://github.com/Ahwxorg/LibreY for the image proxy + // thanks to anonymous for reporting: + // https://bn.bloat.cat/image_proxy.php?url=https://i.pinimg.com/originals/6a/a7/8a/6aa78aef47fc59f110a64576d7edf4d1.jpg + // https://i.pinimg.com/originals/6a/a7/8a/6aa78aef47fc59f110a64576d7edf4d1.jpg + newsrc = src.replace(/^[a-z]+:\/\/[^/]+\/+image_proxy\.php\?(?:.*&)?url=([^&]+).*?$/, "$1"); + if (newsrc !== src) + return decodeuri_ifneeded(newsrc); + } // ochre if (domain === "d1rgjmn2wmqeif.cloudfront.net") { // thanks to anonymous for reporting: