Skip to content

Commit

Permalink
More websites/rules
Browse files Browse the repository at this point in the history
Fixes #1357
Fixes #1359
  • Loading branch information
qsniyg committed Sep 15, 2024
1 parent 7b78733 commit cdf22cd
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
2024.9.0 (in-dev)

Special thanks to nimbuz, remlap, Solus, immewnity, Froktime, billkewl, Broly, fyhtma for their contributions and reports for this release
Special thanks to nimbuz, remlap, Solus, immewnity, Froktime, billkewl, Broly, fyhtma, vscum, acidzab for their contributions and reports for this release

---

Expand Down
17 changes: 17 additions & 0 deletions src/userscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63406,6 +63406,13 @@ var $$IMU_EXPORT$$;
return urljoin(src, decodeURIComponent(newsrc), true);
}

if (domain_nowww === "nudostar.tv") {
// thanks to vscum on github: https://github.com/qsniyg/maxurl/issues/1359
// https://nudostar.tv/contents/y/y/yyuki-1/1000/yyuki-1_0023_320px.jpg
// https://nudostar.tv/contents/y/y/yyuki-1/1000/yyuki-1_0023.jpg
return src.replace(/(\/contents\/+.\/+.\/+[^/]+\/+[0-9]+\/+[^/]+)_[0-9]+px\./, "$1.");
}

if (domain_nowww === "nudogram.com") {
// thanks to anonymous for reporting:
// https://nudogram.com/contents/p/u/putri-cinta/1000/putri-cinta_0643_280.jpg
Expand Down Expand Up @@ -116504,6 +116511,16 @@ var $$IMU_EXPORT$$;
.replace(/(\/produkte\/+)leiste\/+/, "$1orig/");
}

if (amazon_container === "media.kompakt.fm" ||
// http://media.kompakt.fm/01/assets/releases/fitted/ext016-pshal_p_shaw.jpg?v=1
// http://media.kompakt.fm/01/assets/releases/original/ext016-pshal_p_shaw.jpg?v=1
domain === "media.kompakt.fm") {
// thanks to acidzab on github: https://github.com/qsniyg/maxurl/issues/1357
// https://s3.amazonaws.com/media.kompakt.fm/01/assets/releases/fitted/ext016-pshal_p_shaw.jpg?v=1
// https://s3.amazonaws.com/media.kompakt.fm/01/assets/releases/original/ext016-pshal_p_shaw.jpg?v=1
return src.replace(/(\/assets\/+releases\/+)fitted\/+/, "$1original/");
}




Expand Down
15 changes: 15 additions & 0 deletions userscript.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -57665,6 +57665,12 @@ var $$IMU_EXPORT$$;
if (newsrc !== src)
return urljoin(src, decodeURIComponent(newsrc), true);
}
if (domain_nowww === "nudostar.tv") {
// thanks to vscum on github: https://github.com/qsniyg/maxurl/issues/1359
// https://nudostar.tv/contents/y/y/yyuki-1/1000/yyuki-1_0023_320px.jpg
// https://nudostar.tv/contents/y/y/yyuki-1/1000/yyuki-1_0023.jpg
return src.replace(/(\/contents\/+.\/+.\/+[^/]+\/+[0-9]+\/+[^/]+)_[0-9]+px\./, "$1.");
}
if (domain_nowww === "nudogram.com") {
// thanks to anonymous for reporting:
// https://nudogram.com/contents/p/u/putri-cinta/1000/putri-cinta_0643_280.jpg
Expand Down Expand Up @@ -104695,6 +104701,15 @@ var $$IMU_EXPORT$$;
.replace(/(\/produkte\/+)orig\/+/, "$1hoch/")
.replace(/(\/produkte\/+)leiste\/+/, "$1orig/");
}
if (amazon_container === "media.kompakt.fm" ||
// http://media.kompakt.fm/01/assets/releases/fitted/ext016-pshal_p_shaw.jpg?v=1
// http://media.kompakt.fm/01/assets/releases/original/ext016-pshal_p_shaw.jpg?v=1
domain === "media.kompakt.fm") {
// thanks to acidzab on github: https://github.com/qsniyg/maxurl/issues/1357
// https://s3.amazonaws.com/media.kompakt.fm/01/assets/releases/fitted/ext016-pshal_p_shaw.jpg?v=1
// https://s3.amazonaws.com/media.kompakt.fm/01/assets/releases/original/ext016-pshal_p_shaw.jpg?v=1
return src.replace(/(\/assets\/+releases\/+)fitted\/+/, "$1original/");
}
// -- 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 cdf22cd

Please sign in to comment.