From a24a314a1828026c783a45be805ecb395436496a Mon Sep 17 00:00:00 2001 From: qsniyg Date: Sat, 20 Jan 2024 20:20:21 +0000 Subject: [PATCH] Support kerry-brown.com --- src/userscript.ts | 7 +++++++ userscript.user.js | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/src/userscript.ts b/src/userscript.ts index 61e54c46..36bd85b4 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -38804,6 +38804,13 @@ var $$IMU_EXPORT$$; return src.replace(/(\/media\/img\/.*\/)_[^/]*\/([^/]*)$/, "$1$2"); } + if (domain_nowww === "kerry-brown.com") { + // thanks to Harmony on discord for reporting: + // https://kerry-brown.com/assets/white-wall/_1984x2976_crop_center-center_61_line/White-Wall-1-Resized.jpg + // https://kerry-brown.com/assets/white-wall/White-Wall-1-Resized.jpg + return src.replace(/(\/assets\/+[^/]+\/+)_[^/]+\/+/, "$1"); + } + if (domain_nowww === "semainedelacritique.com" && string_indexof(src, "/ttimg-rsz") >= 0) { // http://www.semainedelacritique.com/ttimg-rsz?src=/uploads/galleriemedia/ed9cf1c0cd7756b1e7e782f8bc2bc3d2.jpg&w=1200&h=800&q=100&zc=2&a=c // http://www.semainedelacritique.com/uploads/galleriemedia/ed9cf1c0cd7756b1e7e782f8bc2bc3d2.jpg diff --git a/userscript.user.js b/userscript.user.js index 4d123247..d871a5b7 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -35506,6 +35506,12 @@ var $$IMU_EXPORT$$; // http://diymag.com/media/img/Artists/B/Beck/Beck-UpAllNightVideo.jpg return src.replace(/(\/media\/img\/.*\/)_[^/]*\/([^/]*)$/, "$1$2"); } + if (domain_nowww === "kerry-brown.com") { + // thanks to Harmony on discord for reporting: + // https://kerry-brown.com/assets/white-wall/_1984x2976_crop_center-center_61_line/White-Wall-1-Resized.jpg + // https://kerry-brown.com/assets/white-wall/White-Wall-1-Resized.jpg + return src.replace(/(\/assets\/+[^/]+\/+)_[^/]+\/+/, "$1"); + } if (domain_nowww === "semainedelacritique.com" && string_indexof(src, "/ttimg-rsz") >= 0) { // http://www.semainedelacritique.com/ttimg-rsz?src=/uploads/galleriemedia/ed9cf1c0cd7756b1e7e782f8bc2bc3d2.jpg&w=1200&h=800&q=100&zc=2&a=c // http://www.semainedelacritique.com/uploads/galleriemedia/ed9cf1c0cd7756b1e7e782f8bc2bc3d2.jpg