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 12, 2024
1 parent 600382c commit 433d50b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/userscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35102,6 +35102,9 @@ var $$IMU_EXPORT$$;
// https://wp-assets.futurism.com/2024/01/Screenshot-2024-01-12-at-10.19.15%E2%80%AFAM.png
domain === "wp-assets.futurism.com" ||
// thanks to anonymous for reporting:
// https://mei.kuudere.pw/j0lL63uqpto-218x400.jpg
domain === "mei.kuudere.pw" ||
// thanks to anonymous for reporting:
// https://cdn.entameclip.com/2024/10/pic20241023kimitoband1-300x225.jpg
// https://cdn.entameclip.com/2024/10/pic20241023kimitoband1.jpg
domain === "cdn.entameclip.com"
Expand Down Expand Up @@ -117226,6 +117229,15 @@ var $$IMU_EXPORT$$;
return src.replace(/(\/[0-9]+\/+[-0-9a-f]{10,})_(?:thumb|logo)\./, "$1.");
}

if (domain === "cdn-official-web.peropero.net") {
// thanks to siloricity on discord:
// https://cdn-official-web.peropero.net/covers_tmp/525eac574598b408-1649918303117.jpg
// https://cdn-official-web.peropero.net/covers/525eac574598b408-1649918303117.png
newsrc = src.replace(/\/covers_tmp\/+([0-9a-f]{10,}-[0-9]+\.)/, "/covers/$1");
if (newsrc !== src)
return add_extensions(newsrc);
}




Expand Down
11 changes: 11 additions & 0 deletions userscript.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -32229,6 +32229,9 @@ var $$IMU_EXPORT$$;
// https://wp-assets.futurism.com/2024/01/Screenshot-2024-01-12-at-10.19.15%E2%80%AFAM.png
domain === "wp-assets.futurism.com" ||
// thanks to anonymous for reporting:
// https://mei.kuudere.pw/j0lL63uqpto-218x400.jpg
domain === "mei.kuudere.pw" ||
// thanks to anonymous for reporting:
// https://cdn.entameclip.com/2024/10/pic20241023kimitoband1-300x225.jpg
// https://cdn.entameclip.com/2024/10/pic20241023kimitoband1.jpg
domain === "cdn.entameclip.com") {
Expand Down Expand Up @@ -105360,6 +105363,14 @@ var $$IMU_EXPORT$$;
// 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.");
}
if (domain === "cdn-official-web.peropero.net") {
// thanks to siloricity on discord:
// https://cdn-official-web.peropero.net/covers_tmp/525eac574598b408-1649918303117.jpg
// https://cdn-official-web.peropero.net/covers/525eac574598b408-1649918303117.png
newsrc = src.replace(/\/covers_tmp\/+([0-9a-f]{10,}-[0-9]+\.)/, "/covers/$1");
if (newsrc !== src)
return add_extensions(newsrc);
}
// -- 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 433d50b

Please sign in to comment.