Skip to content

Commit

Permalink
Support kerry-brown.com
Browse files Browse the repository at this point in the history
  • Loading branch information
qsniyg committed Jan 20, 2024
1 parent 1e26ea2 commit a24a314
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/userscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions userscript.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a24a314

Please sign in to comment.