Skip to content

Commit

Permalink
More websites/rules
Browse files Browse the repository at this point in the history
  • Loading branch information
qsniyg committed Nov 11, 2024
1 parent f6c89ab commit 47bf878
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/userscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117215,6 +117215,14 @@ var $$IMU_EXPORT$$;
return src.replace(/(\/get\/+)image\/+([^/?#]+)-thumb_[^/.?#]+\./, "$1maximage/$2.");
}

if (domain === "cdn.aznudefeet.com") {
// thanks to anonymous for reporting:
// https://cdn.aznudefeet.com/celeb_pictures/37952/a14bbcd1-1553-4933-9774-64d386442e44_thumb.jpg
// https://cdn.aznudefeet.com/celeb_pictures/37952/a14bbcd1-1553-4933-9774-64d386442e44_logo.jpg
// https://cdn.aznudefeet.com/celeb_pictures/37952/a14bbcd1-1553-4933-9774-64d386442e44.jpg
return src.replace(/(\/[0-9]+\/+[-0-9a-f]{10,})_(?:thumb|logo)\./, "$1.");
}




Expand Down
7 changes: 7 additions & 0 deletions userscript.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -105350,6 +105350,13 @@ var $$IMU_EXPORT$$;
// https://thepeninsulaqatar.com/get/maximage/20241109_1731135227-619.jpg
return src.replace(/(\/get\/+)image\/+([^/?#]+)-thumb_[^/.?#]+\./, "$1maximage/$2.");
}
if (domain === "cdn.aznudefeet.com") {
// thanks to anonymous for reporting:
// https://cdn.aznudefeet.com/celeb_pictures/37952/a14bbcd1-1553-4933-9774-64d386442e44_thumb.jpg
// https://cdn.aznudefeet.com/celeb_pictures/37952/a14bbcd1-1553-4933-9774-64d386442e44_logo.jpg
// https://cdn.aznudefeet.com/celeb_pictures/37952/a14bbcd1-1553-4933-9774-64d386442e44.jpg
return src.replace(/(\/[0-9]+\/+[-0-9a-f]{10,})_(?:thumb|logo)\./, "$1.");
}
// -- general rules --
if (src.match(/\/ImageGen\.ashx\?/)) {
// http://www.lookalikes.info/umbraco/ImageGen.ashx?image=/media/97522/nick%20hewer%20-%20mark%20brown.jpeg&width=250&constrain=true
Expand Down

0 comments on commit 47bf878

Please sign in to comment.