Skip to content

Commit

Permalink
More websites/rules
Browse files Browse the repository at this point in the history
Fixes #1191
Fixes #1319
  • Loading branch information
qsniyg committed Sep 16, 2024
1 parent 9b5210f commit e9fa0a8
Show file tree
Hide file tree
Showing 2 changed files with 238 additions and 16 deletions.
125 changes: 119 additions & 6 deletions src/userscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35026,6 +35026,14 @@ var $$IMU_EXPORT$$;
// thanks to anonymous for reporting:
// https://cdn1.sunderlandafc.news/uploads/40/2024/06/GettyImages-1794407675-750x478.jpg
(domain_nosub === "sunderlandafc.news" && /^cdn[0-9]*\./.test(domain) && /\/uploads\//.test(src)) ||
// thanks to vscum on github: https://github.com/qsniyg/maxurl/issues/1191
// https://cdn.cherrynudes.com/app/uploads/2024/09/riley-reid-risky-business-playboy-3-410x410.jpg
// https://cdn.cherrynudes.com/app/uploads/2024/09/riley-reid-risky-business-playboy-3.jpg
(domain === "cdn.cherrynudes.com" && /\/app\/+uploads\//.test(src)) ||
// thanks to vscum on github: https://github.com/qsniyg/maxurl/issues/1191
// https://cdn.bunnylust.com/app/uploads/2024/09/riley-reid-risky-business-playboy-3-300x375.jpg
// https://cdn.bunnylust.com/app/uploads/2024/09/riley-reid-risky-business-playboy-3.jpg
(domain === "cdn.bunnylust.com" && /\/app\/+uploads\//.test(src)) ||
// https://wp-assets.futurism.com/2024/01/Screenshot-2024-01-12-at-10.19.15%E2%80%AFAM-1200x865.png
// https://wp-assets.futurism.com/2024/01/Screenshot-2024-01-12-at-10.19.15%E2%80%AFAM.png
domain === "wp-assets.futurism.com"
Expand Down Expand Up @@ -40388,6 +40396,14 @@ var $$IMU_EXPORT$$;
return src.replace(/(\/assets\/+[^/]+\/+)_[^/]+\/+/, "$1");
}

if (false && domain === "cdn.nationaltvawards.com") {
// thanks to anonymous for reporting:
// https://cdn.nationaltvawards.com/Gallery/2019/_800x800_fit_center-center_none/368/2019-show-29.jpeg
// https://cdn.nationaltvawards.com/Gallery/2019/368/2019-show-29.jpeg -- doesn't work
// https://cdn.nationaltvawards.com/Gallery/2019/2019-show-29.jpeg -- doesn't work
return src.replace(/\/_[0-9]+x[0-9]+_(?:fit|crop)_[^/]+\/+([^/]+\/+[^/]+\.[a-z]+)(?:[?#].*)?$/, "/$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 Expand Up @@ -49796,6 +49812,10 @@ var $$IMU_EXPORT$$;
// https://image.nyheder.dk/1725449.webp?imageId=1725449&width=960&height=644&format=jpg
// https://image.nyheder.dk/1725449.webp?width=-1&height=-1&format=jpg
domain === "image.nyheder.dk" ||
// thanks to anonymous for reporting:
// https://image.herognu.dk/4604537.webp?imageId=4604537&x=0.00&y=0.00&cropw=100.00&croph=100.00&width=1926&height=2890&format=webp -- upscaled?
// https://image.herognu.dk/4604537.webp?width=-1&height=-1&format=jpg -- 1667x2500
domain === "image.herognu.dk" ||
// https://www.dbstatic.no/68267011.jpg?imageId=68267011&x=0&y=0&cropw=100&croph=100&width=1024&height=1539
// https://www.dbstatic.no/68267011.jpg -- 100x150
// https://www.dbstatic.no/68267011.jpg?width=-1&height=-1 -- 1664x2500
Expand Down Expand Up @@ -63273,7 +63293,35 @@ var $$IMU_EXPORT$$;
domain_nowww === "javhd.pics" ||
// https://jav.photos/pics/japanese/mirei-kurosawa/59/hd-mirei-kurosawa-1.jpg
// https://jav.photos/pictures/japanese/mirei-kurosawa/59/mirei-kurosawa-1.jpg
domain_nowww === "jav.photos") {
domain_nowww === "jav.photos" ||
// https://japanesebeauties.one/media/japanese/kabukicho-girls/1/hd-kabukicho-girls-2.jpg
// https://japanesebeauties.one/japanese/kabukicho-girls/1/kabukicho-girls-2.jpg
domain_nowww === "japanesebeauties.one" ||
// thanks to vscum on github: https://github.com/qsniyg/maxurl/issues/1319
// https://pornpics.pictures/media/digitalplayground/olive-glass-agatha-vega-sophie-reade/luxary-redhead-bonbon/hd-olive-glass-agatha-vega-sophie-reade-2.jpg
// https://pornpics.pictures/media/digitalplayground/olive-glass-agatha-vega-sophie-reade/luxary-redhead-bonbon/olive-glass-agatha-vega-sophie-reade-2.jpg
domain_nowww === "pornpics.pictures" ||
// https://javidol.gallery/media/caribbeancom/yayoi-yamauchi/082824-001/hd-yayoi-yamauchi-2.jpg
// https://javidol.gallery/pics/caribbeancom/yayoi-yamauchi/082824-001/yayoi-yamauchi-2.jpg
domain_nowww === "javidol.gallery" ||
// https://vip.sexhd.pics/media/wouj/wouj-model/sandy-solo-sex-vediosheidi/hd-wouj-model-3.jpg
// https://vip.sexhd.pics/media/wouj/wouj-model/sandy-solo-sex-vediosheidi/wouj-model-3.jpg
domain_nosub === "sexhd.pics" ||
// https://vip.sexphotos.pw/media/milehighmedia/ryan-keely-hazel-moore-will-pounder/lixxx-short-hair-leggings/hd-ryan-keely-hazel-moore-will-pounder-3.jpg
// https://vip.sexphotos.pw/media/milehighmedia/ryan-keely-hazel-moore-will-pounder/lixxx-short-hair-leggings/ryan-keely-hazel-moore-will-pounder-3.jpg
domain_nosub === "sexphotos.pw" ||
// https://vip.pornstar.gallery/pornpics/zishy/olya-derkach/bigbutts-beautiful-ohmibod/hd-olya-derkach-2.jpg
// https://vip.pornstar.gallery/pornpics/zishy/olya-derkach/bigbutts-beautiful-ohmibod/olya-derkach-2.jpg
domain_nosub === "pornstar.gallery" ||
// https://hdxxx.photos/media/zishy/olya-derkach/bigbutts-beautiful-ohmibod/hd-olya-derkach-2.jpg
// https://hdxxx.photos/media/zishy/olya-derkach/bigbutts-beautiful-ohmibod/olya-derkach-2.jpg
domain_nowww === "hdxxx.photos" ||
// https://vip.yespornpics.com/media/twistys/lasirena-gizelle-blanco/babexxx-beautiful-easiness/hd-lasirena-gizelle-blanco-2.jpg
// https://vip.yespornpics.com/media/twistys/lasirena-gizelle-blanco/babexxx-beautiful-easiness/lasirena-gizelle-blanco-2.jpg
domain_nosub === "yespornpics.com" ||
// https://vip.xxxporn.pics/media/digitalplayground/luna-star-ariana-van-x/livexxx-brunette-sexsnap/hd-luna-star-ariana-van-x-2.jpg
// https://vip.xxxporn.pics/media/digitalplayground/luna-star-ariana-van-x/livexxx-brunette-sexsnap/luna-star-ariana-van-x-2.jpg
domain_nosub === "xxxporn.pics") {
var thumbdir = null;
var fulldir = null;

Expand All @@ -63292,11 +63340,40 @@ var $$IMU_EXPORT$$;
domain_nowww === "javpornpics.com") {
thumbdir = "media";
fulldir = "photos";
} else if (domain_nowww === "pornpics.pictures" ||
domain_nosub === "xxxporn.pics" ||
domain_nosub === "sexhd.pics" ||
domain_nosub === "sexphotos.pw" ||
domain_nosub === "yespornpics.com" ||
domain_nowww === "hdxxx.photos") {
thumbdir = "media";
fulldir = "media";
} else if (domain_nowww === "japanesebeauties.one") {
thumbdir = "media";
fulldir = null;
} else if (domain_nowww === "javidol.gallery") {
thumbdir = "media";
fulldir = "pics";
} else if (domain_nosub === "pornstar.gallery") {
thumbdir = "pornpics";
fulldir = "pornpics";
}

if (thumbdir && fulldir) {
regex = new RegExp("(:\/\/[^/]*\/)" + thumbdir + "(\/.*\/)(?:u?hd|pin)-([^/]*)(?:[?#].*)?$");
return src.replace(regex, "$1" + fulldir + "$2$3");
if (thumbdir) {
if (fulldir)
fulldir += "/";
else
fulldir = "";

if (!is_array(thumbdir))
thumbdir = [thumbdir];

for (let thdir of thumbdir) {
regex = new RegExp("(:\/\/[^/]*\/)" + thdir + "\/+(.*\/)(?:u?hd|pin)-([^/]*)(?:[?#].*)?$");
newsrc = src.replace(regex, "$1" + fulldir + "$2$3");
if (newsrc !== src)
return newsrc;
}
}
}

Expand Down Expand Up @@ -73627,6 +73704,13 @@ var $$IMU_EXPORT$$;
// https://cdni.hotnudegirls.net/460/7/272/40857805/40857805_001_4910.jpg
// https://cdni.hotnudegirls.net/1280/7/272/40857805/40857805_001_4910.jpg
domain === "cdni.hotnudegirls.net" ||
// thanks to vscum on github: https://github.com/qsniyg/maxurl/issues/1191
// https://cdni.nakedpornpics.com/460/7/387/27743082/27743082_010_35d4.jpg
// https://cdni.nakedpornpics.com/1280/7/387/27743082/27743082_010_35d4.jpg
domain === "cdni.nakedpornpics.com" ||
// https://cdni.hotnakedwomen.com/460/7/387/27743082/27743082_010_35d4.jpg
// https://cdni.hotnakedwomen.com/1280/7/387/27743082/27743082_010_35d4.jpg
domain === "cdni.hotnakedwomen.com" ||
// https://cdni.pornpics.com/300/5/167/30752091/30752091_001_2e7f.jpg
// https://cdni.pornpics.com/1280/5/167/30752091/30752091_001_2e7f.jpg
domain === "cdni.pornpics.com") {
Expand Down Expand Up @@ -84578,10 +84662,18 @@ var $$IMU_EXPORT$$;
return urljoin(src, decodeuri_ifneeded(newsrc), true);
}

if (domain === "cdn.handjobjapan.com") {
if (domain === "cdn.handjobjapan.com" ||
// thanks to anonymous for reporting:
domain === "img.spermmania.com" ||
// thanks to anonymous for reporting:
domain === "img.fellatiojapan.com" ||
// thanks to anonymous for reporting:
domain === "img.cospuri.com" ||
// thanks to anonymous for reporting:
domain === "img.tokyofacefuck.com") {
// https://cdn.handjobjapan.com/preview/219wedt7/1s.jpg
// https://cdn.handjobjapan.com/preview/219wedt7/1.jpg
newsrc = src.replace(/(\/preview\/+[0-9a-z]+\/+[0-9]+)s(\.[^/.]*)(?:[?#].*)?$/, "$1$2");
newsrc = src.replace(/(\/preview\/+[^/]+\/+[0-9]+)s(\.[^/.]*)(?:[?#].*)?$/, "$1$2");
if (newsrc !== src) return newsrc;
}

Expand Down Expand Up @@ -116543,6 +116635,27 @@ var $$IMU_EXPORT$$;
return src.replace(/:\/\/[^/]+\/+[0-9]+x[0-9]+\/+.*?\/+images\//, "://backend.esquire.de/sites/esquire.de/files/images/");
}

if (domain === "resize.cdn.otakumode.com") {
// thanks to anonymous for reporting:
// https://resize.cdn.otakumode.com/ex/700.466/shop/product/182fb47cd62b4f25b5f432a862367fd9.jpg.webp
// https://resize.cdn.otakumode.com/full/shop/product/182fb47cd62b4f25b5f432a862367fd9.jpg
// https://resize.cdn.otakumode.com/ex/240.240/248.88.461.462/shop/product/2d070aed31de478b855b0ff843d191ca.jpg.webp
// https://resize.cdn.otakumode.com/full/shop/product/2d070aed31de478b855b0ff843d191ca.jpg
return {
url: src
.replace(/(\.[a-z]+)\.webp(?:[?#].*)?$/, "$1")
.replace(/\/ex\/+.*?\/+shop\//, "/full/shop/"),
can_head: false // 415
};
}

if (domain_nowww === "dsreps.com") {
// thanks to anonymous for reporting:
// https://www.dsreps.com/images/pics/500/Jhxe0c_nike_trail_fa24_tour-du-mont-blanc_social_post_01ejpeg.jpg
// https://www.dsreps.com/images/pics/Jhxe0c_nike_trail_fa24_tour-du-mont-blanc_social_post_01ejpeg.jpg
return src.replace(/(\/images\/+pics\/+)[0-9]+\/+/, "$1");
}




Expand Down
Loading

0 comments on commit e9fa0a8

Please sign in to comment.